HyphenateSDK  3.7.4
EMConferenceManagerDelegate.h
1 
15 #ifndef EMConferenceManagerDelegate_h
16 #define EMConferenceManagerDelegate_h
17 
18 #import <Foundation/Foundation.h>
19 
20 #import "EMCommonDefs.h"
21 #import "EMCallEnum.h"
22 #import "EMCallConference.h"
23 #import "EMCallStream.h"
24 #import "EMConferenceAttribute.h"
25 #import "EMRTCStatsReport.h"
26 
27 @class EMError;
28 
37 @protocol EMConferenceManagerDelegate <NSObject>
38 
39 @optional
40 
54 - (void)memberDidJoin:(EMCallConference *)aConference
55  member:(EMCallMember *)aMember;
56 
70 - (void)memberDidLeave:(EMCallConference *)aConference
71  member:(EMCallMember *)aMember;
72 
84 - (void)roleDidChanged:(EMCallConference *)aConference;
85 
99 - (void)adminDidChanged:(EMCallConference *)aConference
100  newAdmin:(NSString*)adminmemid;
101 
115 - (void)adminDidChanged:(EMCallConference *)aConference
116  removeAdmin:(NSString*)adminmemid;
117 
131 - (void)streamPubDidFailed:(EMCallConference *)aConference
132  error:(EMError*)aError;
146 - (void)DesktopStreamDidPubFailed:(EMCallConference *)aConference
147  error:(EMError*)aError;
148 
162 - (void)streamUpdateDidFailed:(EMCallConference *)aConference
163  error:(EMError*)aError;
164 
178 - (void)streamDidUpdate:(EMCallConference *)aConference
179  addStream:(EMCallStream *)aStream;
180 
194 - (void)streamDidUpdate:(EMCallConference *)aConference
195  removeStream:(EMCallStream *)aStream;
196 
210 - (void)streamDidUpdate:(EMCallConference *)aConference
211  stream:(EMCallStream *)aStream;
212 
228 - (void)conferenceDidEnd:(EMCallConference *)aConference
229  reason:(EMCallEndReason)aReason
230  error:(EMError *)aError;
231 
245 - (void)streamStartTransmitting:(EMCallConference *)aConference
246  streamId:(NSString *)aStreamId;
247 
261 - (void)conferenceNetworkDidChange:(EMCallConference *)aConference
262  status:(EMCallNetworkStatus)aStatus;
263 
264 
278 - (void)conferenceSpeakerDidChange:(EMCallConference *)aConference
279  speakingStreamIds:(NSArray *)aStreamIds;
280 
281 - (void)conferenceAttributeUpdated:(EMCallConference *)aConference
282  attributes:(NSArray <EMConferenceAttribute *>*)attrs;
283 
297 - (void)conferenceDidUpdated:(EMCallConference *)aConference
298  muteAll:(BOOL)aMuteAll;
299 
317 - (void)conferenceReqSpeaker:(EMCallConference*)aConference memId:(NSString*)aMemId nickName:(NSString*)aNickName memName:(NSString*)aMemName;
318 
336 - (void)conferenceReqAdmin:(EMCallConference*)aConference memId:(NSString*)aMemId nickName:(NSString*)aNickName memName:(NSString*)aMemName;
337 
351 - (void)conferenceDidUpdated:(EMCallConference*)aConference
352  mute:(BOOL)aMute;
353 
367 - (void)conferenceReqSpeakerRefused:(EMCallConference*)aConference adminId:(NSString*)aAdminId;
368 
382 - (void)conferenceReqAdminRefused:(EMCallConference*)aConference adminId:(NSString*)aAdminId;
383 
399 - (void)conferenceDidUpdated:(EMCallConference*)aConference liveCfg:(NSDictionary*) aLiveConfig;
415 - (void)streamIdDidUpdate:(EMCallConference*)aConference rtcId:(NSString*)rtcId streamId:(NSString*)streamId;
431 - (void)streamStateUpdated:(EMCallConference*)aConference type:(EMMediaType)aType state:(EMMediaState)state streamId:(NSString*)streamId;
447 - (void)streamDidFirstFrameSended:(EMCallConference*)aConference type:(EMMediaType)aType streamId:(NSString*)streamId;
448 
464 - (void)streamDidFirstFrameReceived:(EMCallConference*)aConference type:(EMMediaType)aType streamId:(NSString*)streamId;
465 
481 - (void)autoAudioStreamDidSubFail:(EMCallConference*)aConference streamId:(NSString*)streamId error:(EMError*)aError;
482 
498 - (void)autoAudioStreamDidUnsubFail:(EMCallConference*)aConference streamId:(NSString*)streamId error:(EMError*)aError;
499 
513 - (void)confrenceDidUpdated:(EMCallConference*)aConference state:(EMConferenceState)aState;
514 
530 - (void)conferenceDidUpdate:(EMCallConference*)aConference streamId:(NSString*)streamId statReport:(EMRTCStatsReport *)aReport;
531 
532 
533 #pragma mark - EM_DEPRECATED_IOS 3.4.3
534 
548 - (void)userDidJoin:(EMCallConference *)aConference
549  user:(NSString *)aUserName EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -[EMConferenceManagerDelegate memberDidJoin:member:]");
550 
564 - (void)userDidLeave:(EMCallConference *)aConference
565  user:(NSString *)aUserName EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -[EMConferenceManagerDelegate memberDidLeave:member:]");
566 
582 - (void)userDidRecvInvite:(NSString *)aConfId
583  password:(NSString *)aPassword
584  ext:(NSString *)aExt EM_DEPRECATED_IOS(3_1_0, 3_4_3, "Use -DELETE");
585 
586 
587 @end
588 
589 
590 #endif /* EMConferenceManagerDelegate_h */
Definition: EMCallConference.h:295
Definition: EMCallConference.h:247
Definition: EMCallStream.h:41
Definition: EMConferenceAttribute.h:15
Definition: EMError.h:27
Definition: EMRTCStatsReport.h:14
Definition: EMConferenceManagerDelegate.h:37