Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
49 Views

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

用户A

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

2、然后conferenceClient.publish

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

 

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

Tags (2)
0 Kudos
2 Replies
Highlighted
Beginner
49 Views

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

0 Kudos
Highlighted
Employee
49 Views

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

0 Kudos