WebRTC issue in chrome 59

£可爱£侵袭症+ 提交于 2020-01-07 05:46:48

问题


After updating chrome to version 59 the getUserMedia for screen sharing is fail with "NavigatorUserMediaError TrackStartError". This error happen only if two monitors attached to my laptop, if i using laptop screen only, the WebRTC screen sharing works and getUserMedia returns stream as well (This is regrassion from chrome 58). The mediaConstraints for getUserMedia is

{
audio: false,
video: {
  mandatory: {
    chromeMediaSource: 'desktop',
    chromeMediaSourceId: 'the id returned by chrome.desktopCapture (extension)',
    maxFrameRate: 5
    }
}}

You can reproduce this issue here. Is anybody get this error after updating to chrome 59? How can i fix it? Or need to wait for google team fix?

来源:https://stackoverflow.com/questions/44481163/webrtc-issue-in-chrome-59

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!