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?
  • Creates a new typed source with a theo.live channel ID

    Declaration

    Swift

    public init(channelId: String, headers: [String : String]? = nil, targetLatency: Double? = nil)

    Parameters

    channelId

    The ID of the theo.live channel

    headers

    The HTTP request headers associated with the source.

    targetLatency

    The live offset that the player will aim for.

  • Declaration

    Swift

    public convenience required init(from decoder: Decoder) throws