Hi All,
another thing I’ve noticed in OV 3.5.0 is that the toolbarScreenshareButton can’t be changed on the fly, and for my company it’s very important that it continues to work as the previous versions where I could be able to change it on the fly to show or hide the screenshare button.
Greetings, Matteo.
Hi @Developer3010
I’m looking into it.
I will investigate this issue and fix it so that I can release a new version of openvidu-components-angular.
Hi Matteo,
We have been analyzing the issue in detail. Our findings show that the problem when replacing an already shared screen occurs specifically when using the Firefox browser. In recent versions of Firefox, it is no longer allowed to create a new screen track if one is already active, which prevents replacing the shared screen without first unpublishing it.
We have also tested this behavior with Google Meet, and the same limitation appears under the same conditions, confirming that it is a browser-level restriction rather than something specific to OpenVidu.
As a result, we have decided to adapt the UI when Firefox is detected, avoiding the use of screen replacement (replaceTrack) and instead aligning with the constraints imposed by the browser.
I’ve release a new beta version. You can install it running this command
npm i openvidu-components-angular@next
Best regards
Carlos
Hi Carlos, the problem I’ve been dealing with wasn’t about the replace of an already screen shared, but was about hiding or showing the button icon of the screen share on the fly.
In the previous versions I was able to show or hide the screen share button icon whenever I want, but it seems to be no longer possible with the version 3.5.0.
Have you also checked this behaviour?
Greetings, Matteo.
Yes, I’ve checked that and this should be fixed 