NEW 178218
getUserMedia video track "ended" on first load of new tab
https://bugs.webkit.org/show_bug.cgi?id=178218
Summary getUserMedia video track "ended" on first load of new tab
Mike Block
Reported 2017-10-12 10:20:48 PDT
The video track in the stream reports as readyState="ended" on gUM return. Not sure if this is a load sequence error. If I reload the page though it works reliably, both audio and video active. Steps to reproduce: 1. call a page in a new tab 2. add navigator.mediaDevices.getUserMedia with {audio:true,video:{facingMode:'user'}} call to a window.onload event 3. check the readystate of the returned tracks - video is shown as "ended" 4. reload the tab and everything is fine I've also tried adding an alert before the getUserMedia call to see if there's a background event that needs to complete. No amount of waiting changes the result and there are no errors reported in console.
Attachments
youenn fablet
Comment 1 2017-10-18 10:51:26 PDT
Fippo mentioned in https://github.com/webrtc/adapter/issues/699 the following information: ------------ you might want to check https://bugs.chromium.org/p/chromium/issues/detail?id=574041 -- I get the code responsible is old enough to be still shared with webkit. ------------
Note You need to log in before you can comment on or make changes to this bug.