Created
September 3, 2021 07:20
-
-
Save murillo128/6da8c7646dca058cccfa367a1a26d6d9 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 publisher | |
publisher = new Publish(streamId, () => { return publisherToken }); | |
//Start publishing | |
await publisher.connect({ | |
mediaStream: mediaStream, | |
sourceId: sourceId, | |
disableVideo, | |
dtx: true, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment