MillicastSDK 2.2.0
|
Delegate protocol that can be implemented to receive subscriber specific events.
Initialize the viewer with a delegate via MCSubscriber/initWithDelegate:
@optional / Emitted when the stream has been stopped via a request from the subscriber to unview. / - Parameters: / - subscriber: The Millicast subscriber. / - didReceiveStreamStopped: Event information.
/ Called when a new remote track has been added / - Parameters: / - subscriber: The Millicast subscriber. / - didReceiveRtsRemoteTrack: A remote published track.
/ Called when a new Subscriber statistics report is available. / / You must enable statistics via MCClient/enableStats:completionHandler:
/ to start receiving this handler. / / - Parameters: / - subscriber: The Millicast subscriber / - didReceiveStats: A Stats object of type MCSubscriberStats
with various stream information.
@end
/ The Credentials interface represent the credentials required for / connecting and subscribing to a Millicast stream. See the Streaming Dashboard MILLICAST_API