Issue With Screen Share

Hi guys, we are doing Screen Sharing & Live Stream using Flashphoner Webcall Server, while Live Stream working fine we have few queries regarding Screen Sharing -

1. can we switch video source, once a session got established

2. is it possible to switch between "Webcam Feed & Screen Feed" during a Live Session, without interrupting the session itself.
 

Max

Administrator
Staff member
Good day.
You can use Stream.switchToScreen() and Stream.switchToCam() functions. Please read details here
 
hi, max do we need to publish our own extension, to work with this switchToScreen() function, cause when I used it, got "ERROR Error: Screen sharing extension is not available", please see the screenshot, is there is any alternative way to it ?
 

Attachments

Max

Administrator
Staff member
In modern browsers versions, you can share screen without extension, please read details here
 
Hi, Max we tried the same already, we tried constraints.video.withoutExtension = true; during switching screen but it did not work, look like there is no effect of this when I am using switchToScreen() function available inside flashphoner, please help me out on this, if possible please give a two liner code example how to pass this withoutExtension property while we are invoking "Switching to Screen" function.
 

Max

Administrator
Staff member
If you do not use extension in Chrome browser, switchToScreen method should be called with additional parameter (it is false by default)
Code:
publishStream.switchToScreen("screen", true);
 
Top