-
Notifications
You must be signed in to change notification settings - Fork 2
Improvement/migrate interceptor #101
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
Changes from all commits
71f0d15
fab9952
ea56106
228249f
f5eb932
e126723
c2fd5f0
61085ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -171,7 +171,7 @@ All that is needed is a source with a text track description: | |
| ```swift | ||
| public static var sourceWithSideloadedTextTrack: SourceDescription { | ||
| let typedSource = TypedSource(src: "https://sourceURL.com/manifest.m3u8, type: "application/x-mpegurl") | ||
| let textTrack = TextTrackDescription(src: "https://sideloadedurl.com/subtitle.vtt", srclang: "language_code", isDefault: false, kind: .subtitles, label: "Label", format: .WebVTT) | ||
| let textTrack = TextTrackDescription(src: "https://sideloadedurl.com/subtitle.vtt", srclang: "language_code", isDefault: true, kind: .subtitles, label: "Label", format: .WebVTT) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. did we check the AVplayer behavior in case of 2
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only the first is entry is taken into account. I will add that as a limitation. |
||
| return SourceDescription(source: typedSource, textTracks: [textTrack]) | ||
| } | ||
| ``` | ||
|
|
@@ -188,5 +188,4 @@ For more information on how to implement offline playback with caching, please r | |
|
|
||
| ### Limitations | ||
|
|
||
| 1. Caching sources with sideloaded subtitles can only be done one task at a time. This is due to some technical complexities in the underlying implementation. This limitation may be addressed in future releases. | ||
| 2. Caching is only available on iOS. | ||
| 1. Caching is only available on iOS. | ||
Uh oh!
There was an error while loading. Please reload this page.