9 #import <Foundation/Foundation.h>
22 @property (nonatomic, readonly) NSString* __nonnull
cameraId;
26 @property (nonatomic, readonly) NSString* __nonnull
cameraName;
42 @property (nonatomic, readonly) NSString* __nonnull audioId;
47 @property (nonatomic, readonly) NSString* __nonnull audioName;
52 @property (nonatomic, readonly)
bool input;
64 @property (nonatomic, readonly) NSString* __nonnull windowId;
69 @property (nonatomic, readonly) NSString* __nonnull windowName;
83 @property (nonatomic)
int audioInputSamplingRate;
90 @property (nonatomic)
int audioOutputSamplingRate;
97 @property (nonatomic)
int audioInputChannelNumber;
104 @property (nonatomic)
int audioOutputChannelNumber;
116 @property (nonatomic, readonly)
bool isAudioInputStart;
121 @property (nonatomic, readonly)
bool isAudioOutputStart;
126 @property (nonatomic, readonly)
bool cameraOpen;
131 @property (nonatomic, readonly)
bool videoFileOpen;
141 @property (nonatomic, readonly) NSArray<JCMediaDeviceCamera*> * __nonnull cameras;
156 @property (nonatomic, strong, readonly) NSString* __nonnull videoFileId;
161 @property (nonatomic, readonly)
bool audioInterrupt;
177 @property (nonatomic)
bool useInternalAudioDeviceLogic;
182 @property (nonatomic, readonly)
bool audioStart;
188 @property (nonatomic, readonly) NSArray<JCMediaDeviceAudio*>* __nonnull audioInputs;
198 @property (nonatomic, readonly) NSArray<JCMediaDeviceAudio*>* __nonnull audioOutputs;
208 @property (nonatomic, readonly) NSArray<JCMediaDeviceWindow*>* __nonnull desktops;
213 @property (nonatomic, readonly) NSArray<JCMediaDeviceWindow*>* __nonnull windows;
257 - (
JCMediaDeviceVideoCanvas* __nullable)startVideo:(NSString* __nonnull)videoSource renderType:(
int)type view:(JCView* __nonnull)view;
281 - (bool)startAudioInput;
287 - (bool)stopAudioInput;
293 - (bool)startAudioOutput;
299 - (bool)stopAudioOutput;
318 - (bool)switchCamera;
334 - (void)specifyCameraAngle:(
int)angle;
342 - (void)setCameraProperty:(
int)width height:(
int)height framerate:(
int)framerate;
350 - (void)setScreenCaptureProperty:(
int)width height:(
int)height framerate:(
int)framerate;
352 #if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
357 @property (nonatomic)
bool defaultSpeakerOn;
369 - (void)enableSpeaker:(
bool)enable;
375 - (NSString* __nullable)getAudioOutputType;
382 - (bool)startVideoFile;
388 - (bool)startScreenShareVideoFile;
399 - (bool)setVideoFileFrame:(NSData* __nonnull)srcFrame format:(
JCMediaDeviceVideoPixelFormat)format width:(
int)width height:(
int)height angle:(
int)angle;
407 - (void)setVideoFileFrame:(CVPixelBufferRef __nonnull)srcFrame angle:(
int)angle mirror:(
int)mirror;
418 - (bool)startVideoCaptureRecordFilePath:(NSString *_Nonnull)filePath captureId:(NSString *_Nonnull)captureId fileType:(
JCVideoCaptureRecordFileType)fileType width:(
int)width height:(
int)height;
425 - (bool)stopVideoCaptureRecordCaptureId:(NSString *_Nonnull)captureId;
440 - (bool)stopAudioCaptureRecord;
446 - (bool)stopVideoFile;
457 - (int)getScreenFramerate;
JCClient 为全局基础类,主要负责登陆登出管理及账户属性存储
Definition: JCClient.h:16