WebRTC
WebRTC copied to clipboard
disable video in call
Hi, I'm trying to disable video while connected in call. I want to show user image in case of other user disables video...
i can think of 2 ways to disable video..
- localVideoTrack.isEnabled = false //in this case video view shows black screen
- [localStream removeVideoTrack:localVideoTrack] //in this case video is stopped to a frame
in both cases other person could not get any data which tells that video has been stopped, in #1 for other client remoteVideoTrack.isEnabled is always true. in #2 remote video track in stream still shows track only it gets stuck to last frame...
I'm I missing something, maybe some other way? or this is a but?
Thanks in advance ;)