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
srcThe name of the Millicast stream to subscribe to.
streamAccountIdThe Millicast account ID.
subscriberTokenThe subscribing token.
connectOptionsThe 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
streamNameThe name of the Millicast stream to subscribe to.
accountIdThe Millicast account ID.
tokenThe subscribing token.
connectOptionsThe source specific configuration of client options.