THEOliveAPI

public protocol THEOliveAPI

API for the THEOliveContentPlayer to provide access to the underlying THEOlive SDK.

  • Seek to the live edge.

    Declaration

    Swift

    func goLive()
  • Preload some channels to allow faster switching between channels. This will retrieve the metadata of all the given channel ids and store it so next loadChannel calls are faster.

    Declaration

    Swift

    func preloadPublications(publicationIds: [String])

    Parameters

    publicationIds

    The ids of the publications to preload

  • Calculated latency values for the different parts of the HESP pipeline

    Declaration

    Swift

    var latencies: HESPLatencies? { get }
  • The current measured streaming latency

    Declaration

    Swift

    var currentLatency: Double? { get }
  • The authentication token that will be used when requesting a manifest or segment.

    Declaration

    Swift

    var authToken: String? { get set }