Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1144 Discussions

android addTrack 如何监听他人的track变化

zhou_feng
Beginner
343 Views

用户A

1、localStream = new LocalStream(null, new MediaConstraints.AudioTrackConstraints())

2、然后conferenceClient.publish

3、之后我想把视频打开,localStream.getMediaStream().addTrack(getVideoTrack())

 

用户B怎么监听到用户A的addTrack?

0 Kudos
2 Replies
zhou_feng
Beginner
343 Views

我用RemoteStream的addObserver方法,在onUpdated无法监听到,是否不是这个方法监听的?

Yihui_Z_Intel
Employee
343 Views

用户A 是js 实现的还是android实现的?

Reply