ContentServer

@objc
public protocol ContentServer

Network analytics related to the content server

  • Returns the IP address of the content server

    Declaration

    Swift

    func finalIPAddress() -> String?

    Return Value

    the IP address of the content server for the last segment, or nil if unknown

  • Returns the URL of the selected playlist, after any redirects

    Declaration

    Swift

    func finalURL() -> String?

    Return Value

    the URL of the selected playlist, or nil if unknown

  • Returns the original URL of the stream

    Declaration

    Swift

    func url() -> String?

    Return Value

    the original URL of the stream, or nil if unknown

  • Returns a count of changes to the server address over the last uninterrupted period of playback.

    Declaration

    Swift

    func numberOfServerAddressChanges() -> Int

    Return Value

    the number of server address changes or -1 if unknown