Re: [mediacapture-main] Clarification needed on HTMLMediaElement attributes that carry over (#599)

Here is my take on jsfiddle: https://jsfiddle.net/sdjq3Laf/ adding a bunch of setTimeout everywhere.
Chrome and Safari have the same behavior in that case. Safari checks for detecting a MediaStream srcObject is not kicking synchronously.

When setting srcObject to MediaStream, the playbackRate is changed from 0.6 to 1, but no corresponding ratechange event is fired.
This seems to go well with your initial interpretation.

It seems simpler to me to just state that on setting srcObject, playbackRate is set to 1, which would then trigger an event (though the html media spec is fuzzy there) if it was not equal to 1 initially.



-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/599#issuecomment-497882707 using your GitHub account

Received on Friday, 31 May 2019 22:48:55 UTC