音视频通讯SDK API参考手册
iOS 1.6.0
首页
类
QAVContext.h
1
//
2
// AVContext.h
3
// QAVSDK
4
//
5
// Created by xianhuan on 15/5/30.
6
// Copyright (c) 2015年 xianhuan. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
#import "QAVSDK/QAVRoom.h"
11
#import "QAVError.h"
12
#import "QAVAudioCtrl.h"
13
#import "QAVVideoCtrl.h"
14
#import "QAVCommon.h"
15
#import "QAVEndpoint.h"
16
20
@interface
QAVContextConfig
: NSObject{
21
}
22
23
@property
(copy,nonatomic) NSString* sdkAppId;
24
@property
(copy,nonatomic) NSString* appIdAtThird;
25
@property
(copy,nonatomic) NSString* identifier;
26
@property
(copy,nonatomic) NSString* accountType;
27
@end
28
34
typedef
void (^ContextOperationBlock)(QAVResult result);
35
39
@interface
QAVContext
: NSObject{
40
41
}
42
@property
(retain, nonatomic)
QAVContextConfig
*Config;
43
44
45
// 只有进入房间后以下属性才有用
46
@property
(readonly,nonatomic)
QAVRoom
*room;
47
@property
(readonly,nonatomic)
QAVAudioCtrl
*audioCtrl;
48
@property
(readonly,nonatomic)
QAVVideoCtrl
*videoCtrl;
49
63
+(
QAVContext
*)CreateContext:(
QAVContextConfig
*)config;
72
+(void)DestroyContext:(
QAVContext
*)context;
73
97
-(QAVResult)startContext:(ContextOperationBlock)block;
98
115
-(QAVResult)stopContext:(ContextOperationBlock)block;
116
142
-(QAVResult)enterRoom:(
QAVRoomParam
*)param delegate:(
id
<
QAVRoomDelegate
>)dlg;
143
155
-(QAVResult)exitRoom;
156
@end
QAVAudioCtrl
音频控制器的封装类
Definition:
QAVAudioCtrl.h:56
QAVRoomDelegate-p
房间委托协议
Definition:
QAVRoom.h:15
QAVRoomParam
房间参数
Definition:
QAVCommon.h:158
QAVContextConfig
AVContext对象配置信息
Definition:
QAVContext.h:20
QAVVideoCtrl
视频控制器的封装类
Definition:
QAVVideoCtrl.h:71
QAVContext
AVContext对象封装类,代表着一个SDK运行实例
Definition:
QAVContext.h:39
QAVRoom
房间封装类
Definition:
QAVRoom.h:69
hal
iOS
OCClient
public
QAVContext.h
生成于 2015年 十二月 24日 星期四 11:20:15 , 为 音视频通讯SDK API参考手册使用
1.8.10