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: Thu, 30 May 2019 22:22:34 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-497506935-1559254953-sysbot+gh@w3.org>
It seems all browsers set the ratechange to 1 when setting a srcObject MediaStream.
It seems Chrome, Firefox and Safari all keep/set it to 1 when setting srcObject to null.
I would tend to keep these two behaviors.

The fact that the setter does nothing in case of media stream has the small benefit of allowing an application to detect that setting a ratechange is a no-op. This should also preclude the second range change event. This is Chrome behavior and I think this is also the intended behavior of Safari.
That would mean something like: 0.5, 1, 1, 1

As of the ratechange events, there should be one whenever changing the value, right?


-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/599#issuecomment-497506935 using your GitHub account
Received on Thursday, 30 May 2019 22:22:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:23 UTC