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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
- Fixed an issue where the initial metadata passed to the convivaConnector was not persistent across Conviva sessions.
14
14
- Fixed an issue where the session's assetName was not configurable by setContentInfo, which has higher precedence than source.metadata.title.
15
15
16
+
### Added
17
+
18
+
- SideloadedSubtitle
19
+
- Added support for simultaneous multi-source caching with sideloaded subtitles. Previously there was a limitation of caching only a single task at a time.
20
+
- Added support to make a sideloaded subtitle selected for caching by default. Use the `isDefault` property in `SSTextTrackDescription` or `TextTrackDescription`. Only one default track can be added.
@@ -188,5 +188,4 @@ For more information on how to implement offline playback with caching, please r
188
188
189
189
### Limitations
190
190
191
-
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.
returnawaitself.handleMasterManifestRequest(url)?? data
165
+
case.video:
184
166
// intercept the variant manifest to get the duration
185
-
returnself.handleVariantManifest(loadingRequest)
186
-
caseURLScheme.subtitlesm3u8.name:
167
+
returnawaitself.handleVariantManifest(url)?? data
168
+
case.subtitles:
187
169
// intercept the subtitle request to respond with the HLS subtitle
188
-
returnself.handleSubtitles(loadingRequest)
170
+
returnself.handleSubtitles(url)?? data
189
171
default:
190
172
break
191
173
}
192
-
193
-
returnfalse
174
+
return data
194
175
}
195
-
196
176
}
197
177
198
178
extensionTHEOplayer{
@@ -202,17 +182,18 @@ extension THEOplayer {
202
182
- Remark:
203
183
- Once used this method, always use it to set a source (even if there are no sideloaded subtitles in it), otherwise the subtitle helper logic can break the playback behavior
- Once used this method, always use it to cache a source (even if there are no sideloaded subtitles in it), otherwise the subtitle helper logic can break the caching behavior
Copy file name to clipboardExpand all lines: Code/Sideloaded-TextTracks/Sources/THEOplayerConnectorSideloadedSubtitle/Parsers/MasterPlaylistParser.swift
+13-20Lines changed: 13 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,17 @@ class MasterPlaylistParser: PlaylistParser {
0 commit comments