Skip to content

Instantly share code, notes, and snippets.

@murillo128
Created September 3, 2021 07:21
Show Gist options
  • Save murillo128/2a863a640ea13879257ec5c56fbd8bbd to your computer and use it in GitHub Desktop.
Save murillo128/2a863a640ea13879257ec5c56fbd8bbd to your computer and use it in GitHub Desktop.
//Create viewer
const viewer = new View(streamId, () => { return viewerToken });
//Start streaming
await viewer.connect({
pinnedSourceId,
multiplexedAudioTracks: 3,
excludedSourceIds: [sourceId],
disableVideo,
dtx: true,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment