MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Instance Methods | List of all members
<MCSubscriberDelegate> Protocol Reference

#import <viewer.h>

Inheritance diagram for <MCSubscriberDelegate>:
Inheritance graph
[legend]
Collaboration diagram for <MCSubscriberDelegate>:
Collaboration graph
[legend]

Instance Methods

(void) - subscriber:didReceiveStreamStoppedEvent:
 
(void) - subscriber:didReceiveRTSRemoteTrack:
 

Detailed Description

Delegate protocol that can be implemented to receive subscriber specific events.

Initialize the viewer with a delegate via MCSubscriber/initWithDelegate:

Method Documentation

◆ subscriber:didReceiveRTSRemoteTrack:

- (void) subscriber: (nonnull MCSubscriber *)  subscriber
didReceiveRTSRemoteTrack: (subscriber(_:didReceiveRTSRemoteTrack:))  NS_SWIFT_NAME 
optional

Called when a new remote track has been added

  • Parameters:
    • subscriber: The Millicast subscriber.
    • didReceiveRtsRemoteTrack: A remote published track.

◆ subscriber:didReceiveStreamStoppedEvent:

- (void) subscriber: (nonnull MCSubscriber *)  subscriber
didReceiveStreamStoppedEvent: (subscriber(_:didReceiveStreamStoppedEvent:))  NS_SWIFT_NAME 
optional

Emitted when the stream has been stopped via a request from the subscriber to unview.

  • Parameters:
    • subscriber: The Millicast subscriber.
    • didReceiveStreamStopped: Event information.

The documentation for this protocol was generated from the following file: