This message was deleted.
# helpdesk
s
This message was deleted.
n
@dry-elephant-14928 Maybe you have an idea on how can I do this or the way of doing this is actually rendering each VideoTrack and manually removing for each Participant the camera … if possible of course 😅
d
you should be using
localParticipant.setCameraEnabled(false)
n
Ok, i see … makes sense
damn
will check and let you know 🙂
thank you! 🙂
@dry-elephant-14928 my case is for turning off a
RemoteTrackPublication
camera off
For the video streaming solution we are implementing we wanna let the participants choose if they wanna receive the video stream from others
and for this I used on the RemoteTrackPublication the function called
setEnabled
to stop receiving the video stream from other participants but the thing is it’s freezes there camera on the last frame received witch makes sense but also would make sense removing it since is not receiving any data so why would it be present, right? PS: With removing I mean just not showing the last frame and just put a placeholder like the grey we have when camera is off
For the implementation I’ve created seems like is not possible.
Google Meet for example does this when your choosing to not receive video stream from others it’s also turning other participants camera off.
what I need is also to remote the video from appearing
d
we don't control "showing grey". you should monitor the track's status yourself and render an alternative image when disabled.
n
Ok, I see but this would mean i have to render myself the participants and not relay on the build in solution
Right?
since I cannot impact this behavior w/o doing that so
d
yes, you'd want to add some handling here.. or feel free to submit a PR to the components framework to handle it
n
Ok, nice good to know
I’ve asked since I thought would be a nice “feature” having the component do this since stopping the server from sending data and having as a consequence the camera turned off a good/wanted behavior :)
Thank you @dry-elephant-14928 for your help and response 🙂
🙌 1