Screen share published video is replicated

I am using openvidu-getroom demo. Whenever I publish screen, it get two window of shared content locally which means that this video is being shown from two times- One published local video and another subscribed remote video. Remote side everything is OK. How to avoid it ?

Openvidu-getroom demo doesn’t provide screen share by default.

It seems you are adding it by yourself and some kind of bug on your code is doing that screen share is being shown locally and also from the session (remote stream).

In OpenVidu Call, screen share is provided and you see your screen only one time.

Regards

@micael.gallego you are correct. I forget to mention it. I will check OpenVidu Call and find out the issue with my code. Thanks for your kind help.