1 //
2 // JCCallItem.h
3 // JCSDK-OC
4 //
5 // Created by maikireton on 2017/8/11.
6 // Copyright © 2017年 juphoon. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "JCCallConstants.h"
11 
20 @interface JCCallChangeParam : NSObject
21 
27 @property (nonatomic) bool state;
28 
34 @property (nonatomic) bool hold;
35 
41 @property (nonatomic) bool held;
42 
48 @property (nonatomic) bool mute;
49 
55 @property (nonatomic) bool audioRecord;
56 
62 @property (nonatomic) bool localVideoRecord;
63 
69 @property (nonatomic) bool remoteVideoRecord;
70 
76 @property (nonatomic) bool audioOutputType;
77 
83 @property (nonatomic) bool active;
84 
90 @property (nonatomic) bool uploadVideoStreamSelf;
91 
97 @property (nonatomic) bool uploadVideoStreamOther;
98 
104 @property (nonatomic) bool netStatus;
105 
111 @property (nonatomic) bool otherAudioInterrupt;
112 
113 @end
114 
115 
119 @interface JCCallItem : NSObject
120 
124 @property (nonatomic, readonly, copy) NSString* __nonnull userId;
125 
133 @property (nonatomic , copy) NSString* __nullable displayName;
134 
140 @property (nonatomic, readonly, copy) NSString* __nonnull renderId;
141 
148 @property (nonatomic, readonly) JCCallDirection direction;
149 
156 @property (nonatomic, readonly) bool video;
157 
161 @property (nonatomic, readonly) long beginTime;
162 
166 @property (nonatomic, readonly) long talkingBeginTime;
167 
182 @property (nonatomic, readonly) JCCallState state;
183 
190 @property (nonatomic, readonly) bool hold;
191 
198 @property (nonatomic, readonly) bool held;
199 
209 @property (nonatomic, readonly) bool mute;
210 
217 @property (nonatomic, readonly) bool microphoneMute;
218 
225 @property (nonatomic, readonly) bool speakerMute;
226 
233 @property (nonatomic, readonly) bool audioRecord;
234 
238 @property (copy, nonatomic, readonly) NSString* __nullable audioRecordFilePath;
239 
246 @property (nonatomic, readonly) bool localVideoRecord;
247 
251 @property (copy, nonatomic, readonly) NSString* __nullable localVideoRecordFilePath;
252 
259 @property (nonatomic, readonly) bool remoteVideoRecord;
260 
264 @property (copy, nonatomic, readonly) NSString* __nullable remoteVideoRecordFilePath;
265 
269 @property (nonatomic, readonly, copy) NSString* __nullable audioOutputType;
270 
277 @property (nonatomic, readonly) bool active;
278 
288 @property (nonatomic, readonly) bool uploadVideoStreamSelf;
289 
299 @property (nonatomic, readonly) bool uploadVideoStreamOther;
300 
306 @property (nonatomic, readonly) JCCallReason reason;
307 
319 @property (nonatomic, readonly) JCCallNetWork audioNetSendStatus;
320 
332 @property (nonatomic, readonly) JCCallNetWork audioNetReceiveStatus;
333 
345 @property (nonatomic, readonly) JCCallNetWork videoNetSendStatus;
346 
358 @property (nonatomic, readonly) JCCallNetWork videoNetReceiveStatus;
359 
367 @property (nonatomic, readonly, copy) NSString* __nullable extraParam;
368 
374 @property (nonatomic, readonly, copy) NSString* __nullable serverCallId;
375 
381 @property (nonatomic, readonly) bool otherAudioInterrupt;
382 
388 @property (nonatomic, readonly) NSString *__nullable ticket;
389 
394 -(NSString* __nonnull)toString;
395 
405 -(JCMediaDeviceVideoCanvas* __nullable)startSelfVideo:(JCMediaDeviceRender)type;
406 
410 -(void)stopSelfVideo;
411 
421 -(JCMediaDeviceVideoCanvas* __nullable)startOtherVideo:(JCMediaDeviceRender)type;
422 
426 -(void)stopOtherVideo;
427 
428 @end
429 
最后更新时间: 11/9/2021, 5:34:32 PM