Error 'options.audio/video is inconsistent' when I publish screen stream!
See original GitHub issueShow my code first
navigator.mediaDevices.getDisplayMedia()
.then(stream => {
const publishStream = new Owt.Base.LocalStream(
stream, {video: Owt.Base.VideoSourceInfo.SCREENCAST}
);
this.conference.publish(publishStream).then(publication => {});
}, err => {
Log.danger('Failed to create MediaStream');
console.error(err);
});
An error like this:
I’m so confused with sharing screen! I only set video stream, why audio/video is inconsistent?
What config should I set?
Better to post some demo code, please!!
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
Error Code - BytePlus Documentation Centre
The user failed to publish the audio & video stream in the room. The reason for the failure is that the user does...
Read more >Live streaming error messages - YouTube Help
The Live Dashboard and Live Control Room checks for errors in the stream you're sending to YouTube. ... Your encoder is sending incorrect...
Read more >Correcting Audio Video Sync Problems in Home Theater
First choice: Disable video-processing settings on TV and home theater receiver, then enable video-processing settings again.
Read more >Android Java Express-Video SDK Error Codes
Description: Failed to take a screenshot of the publis stream screen. Cause: The preview is stopped and the push is abnormal. Solutions: Turn...
Read more >trtc-js-sdk-infinity - npm
publish screen sharing stream const screenStream = TRTC. ... catch(error) { // subscribe state is inconsistent with remote publishing state if (error.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can set { audio: false } when publish a video-only stream
Yeah, it works. Thank you very much!!