simplewebrtc / SimpleWebRTC

Simplest WebRTC ever
Other
4.64k stars 1.2k forks source link

QUESTION* - Setting remoteDisabled property of media object to true not working #752

Open samazadi opened 5 years ago

samazadi commented 5 years ago

This is a question, as I'm pretty sure I'm just doing something wrong here. I have a

In the parent container, I'm setting the remoteDisabled property to true for the media object before passing it into the Video component. However, I can still see the peer video in my room. The docs say it should be disabled if that property value is true.

Am I doing it incorrectly?

EDIT* - Let me explain the main issue I'm trying to resolve as well. I am using removeMedia to stop a users video feed, which works fine. I'm just trying to find a way to show a profile picture rather than a black screen when the video is stopped. How can I do this?