Add filter effect to local stream

In our browser implementation of OpenVidu, it’s possible to see your own video feed.
When applying a filter to the local stream, this effect is not added to the local feed, as the local video frames come locally from the browser instead from the server where the filter is applied.
Is there any way of either adding the filter to the local feed or receiving the modified local stream from the server so that the user can see the filter applied to her/his stream?

Use the method subscribeToRemote in the Publisher object (https://docs.openvidu.io/en/2.15.0/api/openvidu-browser/classes/publisher.html#subscribeToRemote)

Regards

2 Likes

Hello, I was wondering if there is a way of subscribing to remote without the audio? I just want to see the filter locally without the audio feedback that comes along with subscribing to the remote stream.

You can just mute the audio track of the video player displaying the remote stream.