Skip to content

Commit

Permalink
Add HLS documentation links (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos authored May 8, 2024
1 parent 4cdc089 commit f6f2c4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CoreBusiness/DataProvider/Server.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public enum Server {
/// MMF.
case mmf

internal var url: URL {
var url: URL {
switch self {
case .production:
return URL(string: "https://il.srgssr.ch")!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,12 @@ If you think audible or legible renditions are incorrectly handled for some cont
The player still attempts to offer a good scrubbing experience when I-frame playlists are not available. In this case seek requests are performed in sequence, avoiding pending request interruption and eliminating superfluous seeks (an approach called _smooth seeking_). Note that this experience is an order of magnitude slower than the one obtained with trick mode, though.

Note that I-frame playlists are a [must-have](https://developer.apple.com/documentation/http-live-streaming/hls-authoring-specification-for-apple-devices#Trick-Play) for tvOS since they are the only way to provide previews during scrubbing.

### Links

Please refer to the official documentation for more information:

- [HTTP Live Streaming](https://developer.apple.com/streaming/)
- [HLS Authoring Specification for Apple Devices](https://developer.apple.com/documentation/http_live_streaming/hls_authoring_specification_for_apple_devices/)
- [RFC 8216](https://tools.ietf.org/html/rfc8216/)
- [Playlist examples](https://developer.apple.com/documentation/http-live-streaming/example-playlists-for-http-live-streaming)

0 comments on commit f6f2c4f

Please sign in to comment.