W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2018

Re: [mediacapture-record] Should a dataavailable event be dispatched in case there is no available data

From: Miguel Casas-Sanchez via GitHub <sysbot+gh@w3.org>
Date: Sat, 20 Oct 2018 22:09:51 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-431621851-1540073386-sysbot+gh@w3.org>
The UA might still fire `onDataAvailable` events with a `Blob` of size 0 if there is no new available encoded+multiplexed data -- this might happen if the user calls `requestData()` explicitly, or if the `|timeslice|` parameter supplied to `start()` is too small. JS code in my experience checks for blob size zero routinely.

-- 
GitHub Notification of comment by yellowdoge
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/153#issuecomment-431621851 using your GitHub account
Received on Saturday, 20 October 2018 22:09:53 UTC

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