15 #import <Foundation/Foundation.h>
17 typedef NS_ENUM(NSInteger, EMConferenceRole){
18 EMConferenceRoleNone = 0,
19 EMConferenceRoleAudience = 1,
20 EMConferenceRoleSpeaker = 3,
21 EMConferenceRoleAdmin = 7,
24 typedef NS_ENUM(NSInteger, EMConferenceType){
25 EMConferenceTypeCommunication = 10,
26 EMConferenceTypeLargeCommunication,
30 typedef NS_ENUM(NSInteger, EMMediaType){
35 typedef NS_ENUM(NSInteger, EMMediaState){
40 typedef NS_ENUM(NSInteger, EMConferenceState) {
41 EMConferenceStateNone = 0,
42 EMConferenceStateTakePicture = 125,
43 EMConferenceStateCustomMsg = 126,
44 EMConferenceStateCtrlMsg = 127,
45 EMConferenceStateResponceMsg = 128,
46 EMConferenceStateUnpub = 130,
47 EMConferenceStateP2PPeerexist = 181,
48 EMConferenceStateOpenCameraFail = 201,
49 EMConferenceStateOpenMicFail = 202,
50 EMConferenceStateTakePictureFail = 203,
51 EMConferenceStateSendFirstAudioFrame = 208,
52 EMConferenceStateSendFirstVideoFrame = 209,
53 EMConferenceStateReceivedFirstAudioFrame = 210,
54 EMConferenceStateReceivedFirstVideoFrame = 211,
67 @property (nonatomic) NSInteger
width;
69 @property (nonatomic) NSInteger
height;
72 @property (nonatomic) NSInteger
bgclr;
74 @property (nonatomic) NSInteger
fps;
76 @property (nonatomic) NSInteger
kbps;
78 @property (nonatomic) NSString*
codec;
89 typedef NS_ENUM(NSInteger, LiveRegionStyle) {
106 @property (nonatomic) NSString* streamId;
109 @property (nonatomic) NSInteger x;
112 @property (nonatomic) NSInteger y;
115 @property (nonatomic) NSInteger w;
118 @property (nonatomic) NSInteger h;
121 @property (nonatomic) NSInteger z;
124 @property (nonatomic) LiveRegionStyle style;
135 typedef NS_ENUM(NSInteger, LiveAudioBps) {
136 LiveAudioBps_8K = 8000,
137 LiveAudioBps_10K = 10000,
138 LiveAudioBps_15K = 15000,
139 LiveAudioBps_20K = 20000,
140 LiveAudioBps_32K = 32000,
141 LiveAudioBps_36K = 36000,
142 LiveAudioBps_64K = 64000,
143 LiveAudioBps_128K = 128000,
153 typedef NS_ENUM(NSInteger, LiveAudioSampleRate) {
154 LiveAudioSampleRate_8K = 8000,
155 LiveAudioSampleRate_16K = 16000,
156 LiveAudioSampleRate_32K = 32000,
157 LiveAudioSampleRate_44K = 44100,
158 LiveAudioSampleRate_48K = 48000,
171 @property (nonatomic) LiveAudioBps bps;
174 @property (nonatomic) NSInteger channels;
177 @property (nonatomic) LiveAudioSampleRate samples;
189 typedef NS_ENUM(NSInteger, LayoutStyle) {
202 typedef NS_ENUM(NSInteger, RecordExt) {
208 RecordExtUNSUPPORTED = RecordExtAUTO,
220 @property (nonatomic,strong) NSString *cdnUrl;
226 @property (nonatomic) LayoutStyle layoutStyle;
229 @property (nonatomic) BOOL record;
234 @property (nonatomic) RecordExt recordExt;
255 @property (nonatomic, strong, readonly) NSString *memberId;
265 @property (nonatomic, strong, readonly) NSString *memberName;
274 @property (nonatomic, strong, readonly) NSString *ext;
283 @property (nonatomic, strong, readonly) NSString *nickname;
303 @property (nonatomic, strong, readonly) NSString *callId;
312 @property (nonatomic, strong, readonly) NSString *confId;
321 @property (nonatomic, strong, readonly) NSString *localName;
330 @property (nonatomic) EMConferenceType type;
339 @property (nonatomic) EMConferenceRole role;
348 @property (nonatomic, strong) NSArray<NSString *> *adminIds;
357 @property (nonatomic, strong) NSArray<NSString *> *speakerIds;
366 @property (nonatomic) NSInteger memberCount;
375 @property (nonatomic) BOOL willRecord;
383 @property (nonatomic) NSString* nickName;
391 @property (nonatomic,strong ,readonly) NSString* memId;
399 @property (nonatomic) NSString* liveId;
407 @property (nonatomic,strong) NSDictionary* liveCfgs;
415 @property (nonatomic) BOOL isCreator;
424 @property (nonatomic) NSInteger audiencesCount;
Definition: EMCallConference.h:169
Definition: EMCallConference.h:66
NSInteger kbps
Definition: EMCallConference.h:76
NSInteger height
Definition: EMCallConference.h:69
NSString * codec
Definition: EMCallConference.h:78
NSInteger fps
Definition: EMCallConference.h:74
NSInteger width
Definition: EMCallConference.h:67
NSInteger bgclr
Definition: EMCallConference.h:72
Definition: EMCallConference.h:295
Definition: EMCallConference.h:247
Definition: EMCallConference.h:218
Definition: EMCallConference.h:104