This strategy is applicable to scenarios where the shared content is text or images. For a screen-sharing stream, the default value of the optimizationMode property is "detail" and the SDK prioritizes clarity. Set video as false and screen as true when calling createStream.Īs of v3.2.0, the Web SDK supports setting the transmission optimization strategy by using optimizationMode. A client object for publishing the screen-sharing stream.Set video as true and screen as false when calling createStream. ![]() A client object for publishing the camera stream.If you publish both a camera stream and a screen-sharing stream, you need to call createClient twice to create two client objects:.Set video as false, and screen as true when calling createStream. If you publish a screen-sharing stream only, you need to call createClient once to create one client object.After you call createStream, the web browser pops up a window to let the end user select which screens to share and then shares the selected screens. ![]() The property settings of a stream differ between browsers (as shown in Implementation). You do this by setting the relevant properties when you create the stream. ![]() In order to enable screen sharing on the web client, you need to call createStream to create a screen-sharing stream. Click the online demo to try this feature out.
0 Comments
Leave a Reply. |