Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while working with firefox #25

Open
Gordex2014 opened this issue Jan 5, 2022 · 0 comments
Open

Error while working with firefox #25

Gordex2014 opened this issue Jan 5, 2022 · 0 comments

Comments

@Gordex2014
Copy link

The current version of the application, specifically the VideoRoomComponent.js has issues while sharing the screen with Firefox for Ubuntu in version 95.0.1 (64-bit), I'm not sure if this problem is present in other operating systems.

For me, the problem was fixed by changing the following lines, starting in line 397

- const videoSource = navigator.userAgent.indexOf('Firefox') !== -1 ? 'window' : 'screen';
const publisher = this.OV.initPublisher(
    undefined,
    {
-        videoSource: videoSource,
+        videoSource: 'screen',
        publishAudio: localUser.isAudioActive(),
        publishVideo: localUser.isVideoActive(),
        mirror: false,
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant