42 lines
838 B
C
Raw Normal View History

//
// VideoTalkManager.h
// VoIPTest
//
// Created by Tg W on 17/2/21.
// Copyright © 2017年 oopsr. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol VideoCallbackDelegate <NSObject>
/**
* APP收到呼叫
*
* @param name
*/
- (void)onCallRing:(NSString*)name;
/**
*
*/
- (void)onCancelRing;
/**
* APP收到呼叫APP就在前台会调用
*
* @param aSession
* @param Callername
*/
@end
@interface VideoTalkManager : NSObject
+ (VideoTalkManager *)sharedClinet;
- (void)initWithSever;
- (void)setDelegate:(id<VideoCallbackDelegate>)delegate;
@end