HyphenateSDK  3.6.1
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;
180 
189 @property (nonatomic, assign) BOOL isBackCamera;
190 
202 @property (nonatomic, assign) int maxVideoKbps;
203 
212 @property (nonatomic, assign) int minVideoKbps;
213 
225 @property (nonatomic, assign) int maxAudioKbps;
226 
236 @property (nonatomic, assign) EMCallVideoResolution videoResolution;
237 
245 @property (nonatomic, strong) EMCallLocalVideoView *localView;
246 
254 @property (nonatomic, strong) UIView *desktopView;
255 
271 - (instancetype)initWithStreamName:(NSString *)aStreamName;
272 
273 #pragma mark - EM_DEPRECATED_IOS 3.5.2
274 
283 @property (nonatomic, assign) BOOL isFixedVideoResolution EM_DEPRECATED_IOS(3_4_3, 3_5_2, "Delete");
284 
285 @end
NSString * streamId
Definition: EMCallStream.h:49
NSString * userName
Definition: EMCallStream.h:76
BOOL enableVoice
Definition: EMCallStream.h:85
EMStreamType type
Definition: EMCallStream.h:112
BOOL enableVideo
Definition: EMCallStream.h:94
NSString * memberName
Definition: EMCallStream.h:67
NSString * streamName
Definition: EMCallStream.h:58
NSString * ext
Definition: EMCallStream.h:103
Definition: EMCallStream.h:40
Definition: EMCallStream.h:125
Definition: EMCallVideoView.h:27