HyphenateSDK  3.7.4
EMCallStream.h
1 
15 #import <UIKit/UIKit.h>
16 #import <Foundation/Foundation.h>
17 
18 #import "EMCallEnum.h"
19 #import "EMCommonDefs.h"
20 
28 typedef enum {
29  EMStreamTypeNormal = 0,
30  EMStreamTypeDesktop,
31 } EMStreamType;
32 
40 @interface EMCallStream : NSObject
41 
49 @property (nonatomic, strong, readonly) NSString *streamId;
50 
58 @property (nonatomic, strong, readonly) NSString *streamName;
59 
67 @property (nonatomic, strong, readonly) NSString *memberName;
68 
76 @property (nonatomic, strong, readonly) NSString *userName;
77 
85 @property (nonatomic, readonly) BOOL enableVoice;
86 
94 @property (nonatomic, readonly) BOOL enableVideo;
95 
103 @property (nonatomic, strong, readonly) NSString *ext;
104 
112 @property (nonatomic) EMStreamType type;
113 
114 @end
115 
116 
124 @class EMCallLocalVideoView;
125 @interface EMStreamParam : NSObject
126 
134 @property (nonatomic, copy) NSString *streamName;
135 
143 @property (nonatomic) EMStreamType type;
144 
152 @property (nonatomic) BOOL enableVideo;
153 
161 @property (nonatomic) BOOL isMute;
162 
170 @property (nonatomic, copy) NSString *ext;
171 
179 @property (nonatomic) BOOL enableCustomizeVideoData;
187 @property (nonatomic) BOOL enableCustomizeAudioData;
188 
196 @property (nonatomic) int customAudioSamples;
197 
205 @property (nonatomic) int customAudioChannels;
206 
215 @property (nonatomic, assign) BOOL isBackCamera;
216 
228 @property (nonatomic, assign) int maxVideoKbps;
229 
238 @property (nonatomic, assign) int minVideoKbps;
239 
251 @property (nonatomic, assign) int maxAudioKbps;
252 
262 @property (nonatomic, assign) EMCallVideoResolution videoResolution;
263 
271 @property (nonatomic, strong) EMCallLocalVideoView *localView;
272 
280 @property (nonatomic, strong) UIView *desktopView;
281 
289 @property (nonatomic) int videoWidth;
290 
298 @property (nonatomic) int videoHeight;
299 
315 - (instancetype)initWithStreamName:(NSString *)aStreamName;
316 
317 #pragma mark - EM_DEPRECATED_IOS 3.5.2
318 
327 @property (nonatomic, assign) BOOL isFixedVideoResolution EM_DEPRECATED_IOS(3_4_3, 3_5_2, "Delete");
328 
329 @end
Definition: EMCallVideoView.h:28
Definition: EMCallStream.h:41
NSString * ext
Definition: EMCallStream.h:103
NSString * userName
Definition: EMCallStream.h:76
NSString * streamName
Definition: EMCallStream.h:58
NSString * memberName
Definition: EMCallStream.h:67
BOOL enableVideo
Definition: EMCallStream.h:94
EMStreamType type
Definition: EMCallStream.h:112
BOOL enableVoice
Definition: EMCallStream.h:85
NSString * streamId
Definition: EMCallStream.h:49
Definition: EMCallStream.h:126
BOOL isFixedVideoResolution EM_DEPRECATED_IOS(3_4_3, 3_5_2, "Delete")