- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Fri, 26 Oct 2018 10:12:14 +0000
- To: public-webrtc-logs@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. For requestData, it probably makes sense to mandate such event. For the other cases, I am wondering whether web apps will break if we decide to not fire such events when there is no data. @yellowdoge, wdyt? That would allow two things: - Applications not using requestData will no longer need this if check - Browser will not have to create these blobs (creating a blob might trigger unnecessary overhead like IPC). -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/153#issuecomment-433359650 using your GitHub account
Received on Friday, 26 October 2018 10:12:15 UTC