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

#import <publisher.h>

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

Instance Methods

(void) - publisherDidReceiveFirstViewerActive:
 
(void) - publisherDidReceiveLastViewerInactive:
 
- Instance Methods inherited from <MCDelegate>
(void) - client:didReceiveHTTPConnectionError:
 
(void) - client:didReceiveSignalingError:
 
(void) - client:didReceiveStatsReport:
 
(void) - client:didReceiveViewerCount:
 
(void) - client:didReceiveWebsocketConnectionState:
 
(void) - client:didReceiveRTCPeerConnectionState:
 

Detailed Description

This delegate acts as a listener for the Publisher class. You must implement this protocol and set a delegate. to receive events from the publisher.

Initialize the publisher with a delegate via MCPublisher/initWithDelegate:

Method Documentation

◆ publisherDidReceiveFirstViewerActive:

- (void) publisherDidReceiveFirstViewerActive: (nonnull MCPublisher *)  publisher
optional

Called when the first viewer is viewing the stream.

  • Parameters:
    • publisher: The Millicast publisher.

◆ publisherDidReceiveLastViewerInactive:

- (void) publisherDidReceiveLastViewerInactive: (nonnull MCPublisher *)  publisher
optional

Called when the last viewer stops viewing the stream.

  • Parameters:
    • publisher: The Millicast publisher.

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