-
-
Notifications
You must be signed in to change notification settings - Fork 335
Open
Description
Expected behavior
getVideoTracks()[0].enabled = false
should blank off the screen (just sending a black image). Ideal for muting the camera.
Same behavior can be seen with webrtc in chrome
Observed behavior
getVideoTracks()[0].enabled = false
just pauses/freezes the screen. The last video frame can be seen
Steps to reproduce the problem
Create a stream with getUserMedia and attach it to a video element
Set
stream.getVideoTracks()[0].enabled
to false
Platform information
- Cordova version: 8.1.2
- Cordova ios version: 4.5.5
- Plugin version: 6.0.3
- iOS version: 13.2.3
- Xcode version: 11.2.1
onerinas and sahiljain2497