-
Notifications
You must be signed in to change notification settings - Fork 509
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
Allow Removal of "wvtt" from CODEC #402
Comments
@cgp1081 Could you try changing it to be "wvtt" instead of ".wvtt"? It may just be that we have an off-by-one substring problem and are actually adding an invalid codec type (".wvtt" instead of "wvtt"). |
Let me update the original post, it is already "wvtt' #EXT-X-STREAM-INF:BANDWIDTH=6016584,CODECS="avc1.640028,mp4a.40.2,wvtt" |
@kqyang How would you like to handle this. What we are doing is not against spec. This sounds more like a player problem than a packaging problem. |
@vaage I do agree that its a player issue, but Apple likely won't be updating firmware on these older pre-tvOS devices - which unfortunately still have a significant amount of users. The only way to get streams to play there is by removing the vtt. |
I agree with @cgp1081. It is an Apple platform issue, but unfortunately we do not have control over the Apple platform. I agree that the best solution is to workaround it in packager. |
Cherry-picked to v2.1.1. |
Having "wvtt" in the codec string (in the master playlist) causes errors on some older Apple products. As including it is optional, we are opted to omit it to ensure support for all Apple products. Close #402 Change-Id: Ib1072bcc26a3ff66e3a6d3204789c0c8c678d4db
System info
Gen 3 AppleTV Devices
Though WebVTT captions are supported on these devices, content with "wvtt" in the CODEC: of #EXT-X-STREAM-INF: will not play on these devices. Content playback error is given.
When "wvtt" is removed, content loads normally and WebVTT captions found in #EXT-X-MEDIA:TYPE=SUBTITLES work as expected.
Per HLS guidelines wvtt is optional and its exclusion will allow content to play correctly w/WebVTT captions on all Apple devices
https://developer.apple.com/library/content/documentation/General/Reference/HLSAuthoringSpec/Requirements.html
5.10. The kind of subtitles SHOULD be specified in the CODECS attribute of the associated EXT-X-STREAM-INF tags. You SHOULD use “stpp.ttml.im1t” to identify IMSC1 subtitles. You MAY use “wvtt" to identify WebVTT subtitles.
The text was updated successfully, but these errors were encountered: