Android screen share unable to see in 2nd publish

Hi Openvidu Developers,

I’m facing a problem right now. We are using OpenVidu to implement a share screen functionality on Android devices based on your tutorial.

Everything is working fine and both client and user can see the shared screen. but after the user turn off the share screen (unpublished) and share again. This time the participant was unable to see the content of the sharing screen and only see a black screen.

According to one of your replies we can try to replace the track, could you give a suggestion on how to implement this in android?