Screen Share

Screen Share

Start Screen Share

The startScreenShare method enables the local screen sharing and starts producing the screen sharing stream with the label screen.

startScreenShare method calls both fetchScreen and produce method internally. It also return MediaStream which can be used to render the screen share stream in the UI.

// Enable screen share
const stream = await huddleClient.localPeer.startScreenShare();

Stop Screen Share

The stopScreenShare method stops the local screen sharing and also stops producing the screen sharing stream with remote peers.

// Disable screen share
await huddleClient.localPeer.stopScreenShare();
Audio/Video Infrastructure designed for the developers to empower them ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.