SessionDelegate
Public Method Summary
Type | Methods | Parameters |
void | SessionConnected:(NSString *)sessionId participants:(NSArray<NSString*>*)existPublisher; A session is connected. |
|
void | SessionDidFinish; A session finished. | |
void | SessionOnLocalParticipantJoined:(Participant *)participant A local participant joined to a session. |
|
void | SessionParticipantJoined:(Participant *)participant; A remote participant joined to a session. |
|
SessionParticipantLeft:(Participant *)participant; A participant left a session. |
| |
void | SessionDidFailWithError:(NSError *)error; A session failed. |
|
void | SessionDidGetStreamTime:(NSString*)time withUserNumber:(NSInteger)userNumber; An event for a video player time synchronization. |
|
void | SessionBecomesAnOrganizer:(BOOL)isOrganizer; An event sent when a session organizer (synchronizer) has been changed. |
|
void | SessionOnManageParticipantMedia:(NSString*)participantID mediaType:(MediaType)mediaType mediaState:(MediaState)mediaState; A media state of audio or video has been changed. |
|
void | rtcStats:(NSDictionary*)stats fromParticipant:(Participant*)participant; Stats are produced for a participant. |
|
void | (void)participant:(Participant*)participant streamQualityChanged:(WTStreamQuality)quality mosAudio:(float)mosAudio mosVideo:(float)mosVideo; A stream quality (MOS - mean opinion score) has been changed for a participant. |
|
void | SessionNeedToReconnect; This event is invoked in the following cases:
When this call is invoked it is recommended that the session will be disconnected and connected again when the "SessionDidFinish" event comes in | |
void | sessionDidSubscribeToParticipant:(Participant *)participant; The current user successfully subscribed for a participant media. Note: This call will be invoked as well when the current participant transitions from WTBroadcaster to WTViewer or WTFullParticipant |
|
void | sessionDidUnsubscribeFromParticipant:(Participant *)participant; A current user has been unsubscribed from a participant media. Note: This call will be invoked as well when the current participant becomes a WTBroadcaster |
|
Last updated