15 #import <AVFoundation/AVFoundation.h> 16 #import <Foundation/Foundation.h> 18 #import "EMCallOptions.h" 19 #import "EMCallManagerDelegate.h" 20 #import "EMCallBuilderDelegate.h" 36 #pragma mark - Delegate 52 delegateQueue:(dispatch_queue_t)aQueue;
80 #pragma mark - Options 108 #pragma mark - Make and Answer and End 128 - (void)startCall:(EMCallType)aType
129 remoteName:(NSString *)aRemoteName
155 - (void)startCall:(EMCallType)aType
156 remoteName:(NSString *)aRemoteName
157 record:(BOOL)isRecord
158 mergeStream:(BOOL)isMerge
178 - (
EMError *)answerIncomingCall:(NSString *)aCallId;
197 - (
EMError *)endCall:(NSString *)aCallId
198 reason:(EMCallEndReason)aReason;
211 #pragma mark - Input Video Data 230 - (void)inputVideoSampleBuffer:(CMSampleBufferRef)aSampleBuffer
231 rotation:(UIDeviceOrientation)aRotation
232 callId:(NSString *)aCallId
233 completion:(
void (^)(
EMError *aError))aCompletionBlock;
254 - (void)inputVideoPixelBuffer:(CVPixelBufferRef)aPixelBuffer
255 sampleBufferTime:(CMTime)aTime
256 rotation:(UIDeviceOrientation)aRotation
257 callId:(NSString *)aCallId
258 completion:(
void (^)(
EMError *aError))aCompletionBlock;
263 - (void)takeLocalVideoPictureWithCallId:(NSString *)aCallId
264 saveToPath:(NSString *)aSavePath
265 completion:(
void (^)(NSString *aFilePath, NSError *aError))aCompletion;
267 - (void)takeRemoteVideoPictureWithCallId:(NSString *)aCallId
268 saveToPath:(NSString *)aSavePath
269 completion:(
void (^)(NSString *aFilePath, NSError *aError))aCompletion;
272 #pragma mark - EM_DEPRECATED_IOS 3.5.2 293 - (void)inputVideoSampleBuffer:(CMSampleBufferRef)aSampleBuffer
294 callId:(NSString *)aCallId
295 format:(EMCallVideoFormat)aFormat
296 rotation:(
int)aRotation
297 completion:(
void (^)(
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_2_2, 3_5_2, "Delete, Use -inputVideoSampleBuffer:rotation:callId:completion:");
318 - (void)inputVideoPixelBuffer:(CVPixelBufferRef)aPixelBuffer
319 callId:(NSString *)aCallId
320 format:(EMCallVideoFormat)aFormat
321 rotation:(
int)aRotation
322 completion:(
void (^)(
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_2_2, 3_5_2, "Delete, Use -inputVideoPixelBuffer:sampleBufferTime:rotation:callId:completion:");
347 - (void)inputVideoData:(NSData *)aData
348 callId:(NSString *)aCallId
349 widthInPixels:(
size_t)aWidth
350 heightInPixels:(
size_t)aHeight
351 format:(EMCallVideoFormat)aFormat
352 rotation:(
int)aRotation
353 completion:(
void (^)(
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_2_2, 3_5_2, "Delete");
356 #pragma mark - EM_DEPRECATED_IOS 3.2.1 372 - (void)startVoiceCall:(NSString *)aUsername
373 completion:(
void (^)(
EMCallSession *aCallSession,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_1_0, 3_2_0, "Use -[
IEMCallManager startCall:remoteName:ext:completion:]");
389 - (void)startVideoCall:(NSString *)aUsername
390 completion:(
void (^)(
EMCallSession *aCallSession,
EMError *aError))aCompletionBlock EM_DEPRECATED_IOS(3_1_0, 3_2_0, "Use -[
IEMCallManager startCall:remoteName:ext:completion:]");
Definition: EMCallSession.h:30
Definition: IEMCallManager.h:32
Definition: EMCallBuilderDelegate.h:17
Definition: EMCallOptions.h:20
Definition: EMCallManagerDelegate.h:28
Definition: EMCallStream.h:40
EMCallOptions * getCallOptions()