IrisRtcAudioSessionDelegate Protocol Reference
| Conforms to | IrisRtcJingleSessionDelegate |
|---|---|
| Declared in | IrisRtcAudioSession.h |
Overview
The IrisRtcAudioSessionDelegate protocol defines the optional methods implemented by
delegates of the IrisRtcAudioSession class.
– onSessionMerged:traceId:
required method
This method is called when merging of active session with the held session for PSTN call.
- (void)onSessionMerged:(NSString *)roomId traceId:(NSString *)traceIdParameters
roomId |
room id recieved from Iris backend. |
|---|---|
traceId |
trace id. |
Discussion
This method is called when merging of active session with the held session for PSTN call.
Declared In
IrisRtcAudioSession.h
– onSessionSIPStatus:roomId:traceId:
required method
This method is called when we recieves status of ongoing PSTN call.
- (void)onSessionSIPStatus:(IrisSIPStatus)status roomId:(NSString *)roomId traceId:(NSString *)traceIdParameters
status |
status of ongoing call. |
|---|---|
roomId |
room id recieved from Iris backend. |
traceId |
trace id. |
Discussion
This method is called when we recieves status of ongoing PSTN call.
Declared In
IrisRtcAudioSession.h
– onSessionEarlyMedia:traceId:
required method
This method is called when session is about to start
- (void)onSessionEarlyMedia:(NSString *)roomId traceId:(NSString *)traceIdParameters
roomId |
room id recieved from Iris backend. |
|---|---|
traceId |
trace id. |
Discussion
This method is called when session is about to start
Declared In
IrisRtcAudioSession.h
– onStreamQualityIndicator:roomId:traceId:
This method is called to indicate the audio stream quality in the call.
- (void)onStreamQualityIndicator:(IrisStreamQuality)quality roomId:(NSString *)roomId traceId:(NSString *)traceIdParameters
roomId |
room id recieved from Iris backend. |
|---|---|
traceId |
trace id. |
status |
status of ongoing call. |
Discussion
This method is called to indicate the audio stream quality in the call.
Declared In
IrisRtcAudioSession.h