You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MediaSource has a very small buffer size on devices like Chromecast or Firestick. Some FLAC streams reach this limit due to a large burst on connect value and throw a QuotaExceededError that is currently not handled and stops playback.
Potential solutions:
Only append n seconds of audio to the SourceBuffer and store the rest in a separate queue.
Append audio until a QuotaExceededError is encountered, and the save the audio to a separate queue.
This is probably the ideal solution since this will be guaranteed to handle any QuotaExceededError without needing to track an arbitrary buffer second value. This obviously won't work if another MSE supporting platform doesn't throw the same error type.
The queueing will need to happen after the frame sync logic, and any audio in this separate queue should be considered "buffered" for playback.
MediaSource has a very small buffer size on devices like Chromecast or Firestick. Some FLAC streams reach this limit due to a large burst on connect value and throw a QuotaExceededError that is currently not handled and stops playback.
Potential solutions:
The queueing will need to happen after the frame sync logic, and any audio in this separate queue should be considered "buffered" for playback.
See: https://developers.google.com/web/updates/2017/10/quotaexceedederror
The text was updated successfully, but these errors were encountered: