MillicastSource

public class MillicastSource : TypedSource

An object that defines a Millicast sources.

  • Initializer method.

    Declaration

    Swift

    public init(src: String, streamAccountId: String, subscriberToken: String? = nil, connectOptions: MCClientOptions? = nil)

    Parameters

    src

    The name of the Millicast stream to subscribe to.

    streamAccountId

    The Millicast account ID.

    subscriberToken

    The subscribing token.

    connectOptions

    The source specific configuration of client options.

  • Initializer method.

    Declaration

    Swift

    @available(*, deprecated, message: "This initializer is deprecated and will be removed with the next major version. Please use `init(src:streamAccountId:subscriberToken:connectOptions:﹚` instead.")
    public convenience init(streamName: String, accountID: String, token: String? = nil, connectOptions: MCClientOptions? = nil)

    Parameters

    streamName

    The name of the Millicast stream to subscribe to.

    accountId

    The Millicast account ID.

    token

    The subscribing token.

    connectOptions

    The source specific configuration of client options.