Created
September 3, 2021 07:21
-
-
Save murillo128/2a863a640ea13879257ec5c56fbd8bbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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