CastConfiguration

public class CastConfiguration : NSObject, Encodable

Describes the configuration of the Cast integrations.

  • The join strategy that will determine how the player will join an existing chromecast session.

    Declaration

    Swift

    public let strategy: CastStrategy?
  • Enable the new chromecast pipeline. This is an improved pipeline that enables new features in the future. Off by default

    Declaration

    Swift

    public let enableExperimentalPipeline: Bool
  • Creates a Cast configuration.

    Declaration

    Swift

    public init(strategy: CastStrategy?, enableExperimentalPipeline: Bool = false)