question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there any param like AUTOSELECT from HLS

See original GitHub issue

In hls standard there is param, that allows to enable subtitle track by default

For example:

#EXTM3U
#EXT-X-MEDIA:TYPE=SUBTITLES, GROUP-ID="subs", NAME="Русский", LANGUAGE="ru", DEFAULT=YES, AUTOSELECT=YES, URI="cc_ru.ttml"
#EXT-X-MEDIA:TYPE=SUBTITLES, GROUP-ID="subs", NAME="English", LANGUAGE="en", DEFAULT=NO, AUTOSELECT=NO, URI="cc_en.ttml"
#EXT-X-STREAM-INF:BANDWIDTH=713411, RESOLUTION=642x360, SUBTITLES="subs"
360.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1071095, RESOLUTION=856x480, SUBTITLES="subs"
480.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1991794, RESOLUTION=1280x718, SUBTITLES="subs"
718.m3u8
#EXT-X-ENDLIST

Is there a param like this in MPD standard?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TheModMakercommented, Apr 24, 2019

Correct, there is no way to enable text tracks from the manifest alone. Note that we’ll enable the text track by default if the we have a text track compatible with your preferences (preferredTextLanguage) and the audio doesn’t match that. You can also call setTextTrackVisibility before calling load and we’ll keep that setting.

0reactions
senaevcommented, Apr 24, 2019

@TheModMaker sorry, can you clarify the last moment. shakaPlayer.isTextTrackVisible() always returns false by default and there is no way to make textTrack visible from manifest?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there any param like AUTOSELECT from HLS #1890 - GitHub
In hls standard there is param, that allows to enable subtitle track by default For example: #EXTM3U #EXT-X-MEDIA:TYPE=SUBTITLES, ...
Read more >
Getting ready to create HLS rendition groups
Identify the video, audio, audio rendition groups and captions you require. Review the to ensure you design an output that is valid.
Read more >
Override stream parameters - Google Ad Manager Help
You can override the variant selection and order parameters specified during stream creation, which allows you to specify the subset of variants that...
Read more >
Adding Alternate Media to a Playlist - Apple Developer
Adding alternate media to a Multivariant Playlist allows a provider to specify one of a set of variant playlists as an override of...
Read more >
Use alternative audio and video tracks with Apple HLS - Wowza
For on-demand streams, separate audio and video files can be used, as long as their timecodes are aligned. It's also possible to use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found