TKVideo 类是talk对视频设备做的管理
TKVideo_MAC
@interface TKVideo_MAC : NSObject
@property (copy, nonatomic) NSString deviceName; @property (copy, nonatomic) NSString deviceId; @property (assign, nonatomic) int index;
| 参数 | 说明 |
|---|---|
| index | 设备索引 |
| deviceName | 设备名称 |
| deviceid | 设备ID |
getVideoCount
-
简要描述
获取视频设备数量
-
接口详解
- (int)getVideoCount;返回值:视频设备的数量
getVideoWithIndex
-
简要描述
通过索引获取视频设备名称和id
-
接口详解
- (TKVideo_MAC *)getVideoWithIndex:(int)index;返回值: TKVideo_MAC
| 参数 | 说明 |
|---|---|
| index | 设备索引 |
getVideo
-
简要描述
获取当前使用的视频设备
-
接口详解
- (NSString *)getVideo;
setVideo
-
简要描述
设置视频设备
-
接口详解
- (void)setVideo:(NSString *)deviceId;参数:
| 参数 | 说明 |
|---|---|
| deviceid | 设备ID |
startDeviceTest
-
简要描述
开始视频设备检测
-
接口详解
-(int)startDeviceTest:(NSString )deviceId view:(TKVideoCanvas )hwnd;
参数:
| 参数 | 说明 |
|---|---|
| deviceId | 设备ID |
| view(TKVideoCanvas) | 视频显示的窗口 |
stopDeviceTest
-
简要描述
停止视频设备检测
-
接口详解
- (int)stopDeviceTest;




