We are using the react & android builds from OpenVidu tutorials for our project.
We have tested all the scenarios and came across an issue when we tested screen cast or screen share.
When the host initiates a screen share on the web, all the participants using the react build in the web browser either in their laptop or mobile phone can see this screen share.
But for those users using the native android code there is an issue. The screen share video does not appear and the video of the host that they were seeing also gets stuck.
So far, I have debugged and learnt that the media server sends a participant unpublished event as soon as the host initiates the screen share, the subsequent calls are triggered with “participantpublished” & “sendMessage” containing the information isScreenShareActive : true and typeOfVideo : SCREEN.
As soon as these events are triggered the hosts video gets stuck & there is no update of the screens share for the participants.
It would be very helpful if someone can guide me with resolving this perticular issue.
I’m sorry but native Android is not supported. Android demo is a proof of concept and there is no proper OpenVidu SDK. If you manage to solve the issue, please share with the community (PRs are welcome) so others can benefit from it.
Hi @Sidharth Could you share the details on how you implemented screen share on android.
One solution that i found was screen casting and then using and adding its video stream to the session as a participant so that it can be visible to every other participants.
If possible a github link to that project would help.