- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
navigator.mediaDevices.getDisplayMedia() .then(stream => { const publishStream = new Owt.Base.LocalStream( stream, new Owt.Base.StreamSourceInfo(Owt.Base.AudioSourceInfo.MIC, Owt.Base.VideoSourceInfo.SCREENCAST)); this.conference.publish(publishStream).then(); }, err => { Log.danger('Failed to create MediaStream'); console.error(err); });
When I share screen by 'getDisplayMedia' method, the conference client show some error.
I don't know how to set a valid audio/video config.
Help me, please !!
Better to post some demo code, please!!
- Tags:
- HTML5
- JavaScript*
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you try our sample code ?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page