Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

disable video in call #50

Open
jjaaxx44 opened this issue Jul 19, 2018 · 0 comments
Open

disable video in call #50

jjaaxx44 opened this issue Jul 19, 2018 · 0 comments

Comments

@jjaaxx44
Copy link

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..

  1. localVideoTrack.isEnabled = false //in this case video view shows black screen
  2. [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 ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant