-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoder errors when playing Car on Safari #1015
Comments
The first error that occurs is a decoder error. This only happens with adaptation; when switching to an affected track manually (when we clear the buffer first), the error doesn't occur. Since this is a decoder error, this is likely a platform issue, but it may have to do with how we adapt. |
I am fairly sure this is a limitation of the Safari decoder. This may be caused by bad content, or just that Safari doesn't support this kind of content. Safari plays other similar content fine, and it looks like we are doing all the correct things for this content. I have reduced the problem to only when adapting (or switching without clearing the buffer). When we clear the buffer (and implicitly reset the decoder), the content plays fine. It also plays fine on the stream by itself. I think the streams are somehow incompatible with each other. I also think this only applies to the 426x240 video stream. One difference I notice between that and the other streams is that in the SPS the We could remove that video stream from the manifest, but we don't control the original asset (it's a YouTube test asset). We could either drop the asset completely or make a copy that doesn't have that representation. |
It's not representative of YouTube-encoded content, it's old, and it's unmaintained. I move we drop it. |
Since they are old, not being updated, and don't represent the kind of content we want to support, just drop them. This also avoid extra work to handle YouTube's custom DRM callbacks. Closes #1015 Change-Id: Iefa9b7a34cd184549ff0895e96198907cc6c8a51
The fix has been cherry-picked to v2.2.x and will be released in v2.2.2. |
When playing the Car asset on Safari, it stops after ~15 seconds and throws a 3016 error, a 3015 error, and several "InvalidStateError (DOM Exception 11): The object is in an invalid state." errors. The video then enters a buffering state, but the time continues advancing forward until it reaches the end. It still plays the audio according to the little audio playing icon in the URL bar, but no sound is produced.
I've tried all of our test assets and haven't seen this with any other asset. I was testing with Safari 10.1.2.
The text was updated successfully, but these errors were encountered: