W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > May 2019

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

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Fri, 31 May 2019 22:48:53 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-497882707-1559342932-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:47 UTC