Turn off camera send no feed

If I am in a video call how do I turn my camera feed off?

I tried

localStream.getTracks().forEach(track => {
if (track.kind === ‘video’) {
track.enabled = shouldTurnOn
}
})

But this paused my video track, I want to send no video track at all when a user turns off the camera.

2 Likes

Far as i can tell currently, if you disable the video track then it sends blank frames instead.
Best way to deal with that would be to make the other client aware that the video tracks been switched off and then stop displaying the video.

@adamsythe, I am facing the same issue. Did you manage to find solution for this?

1 Like

@adamsytheis this resolved? im facing the same issue.