TheoLiveSource
public class TheoLiveSource : TypedSource
Source that points to a channel on theo.live
-
The amount of seconds from live that the player will aim for.
Remark
This property will override the target latency configured in THEOlive console. *Declaration
Swift
public let targetLatency: Double? -
The profile identifier is included as a query parameter in the discovery request to obtain a response specific to that profile.
Declaration
Swift
public let profile: String? -
Creates a new typed source with a theo.live channel ID
Declaration
Swift
public init(channelId: String, headers: [String : String]? = nil, targetLatency: Double? = nil, drm: DRMConfiguration? = nil, profile: String? = nil)Parameters
channelIdThe ID of the theo.live channel
headersThe HTTP request headers associated with the source.
targetLatencyThe live offset that the player will aim for.
drmThis optional property can be used to specify required DRM parameters for a playback source.
-
Declaration
Swift
public convenience required init(from decoder: Decoder) throws