cn.tee3.avd_SDK-Objectc
2.1.0
|
直播管理接口. 更多...
构造函数 | |
(AVDResult) | - createUserLive: |
创建特定用户直播 更多... | |
(AVDResult) | - stopLive: |
停止特定直播 更多... | |
(AVDResult) | - getLiveInfo: |
获取特定直播详细信息 更多... | |
(AVDResult) | - findLiveInfos:count:filter: |
获取服务器上的直播列表 更多... | |
(AVDResult) | - deleteLive: |
删除特定直播 更多... | |
((unavailable("init is not a supported initializer for this class.") | - __attribute__ |
类方法 | |
(AVDLive *) | + instance |
获取AVD直播对象 更多... | |
(AVDResult) | + destory |
释放AVD直播对象 更多... | |
属性 | |
id< AVDLiveDelegate > | delegate |
直播回调代理 更多... | |
直播管理接口.
直播管理定义引擎中直播的创建、删除、信息获取和直播控制等功能。
- (( unavailable("init is not a supported initializer for this class.") __attribute__ |
- (AVDResult) createUserLive: | (AVDLiveInfo *) | info |
创建特定用户直播
[in] | info | 中roomId,name, userid, fileType必须设置;创建成功时id会设置成新创建的直播Id,在异步返回中返回。 |
删除特定直播
[in] | liveId | 直播号。 |
+ (AVDResult) destory |
释放AVD直播对象
- (AVDResult) findLiveInfos: | (NSInteger) | begindex | |
count: | (NSInteger) | ncount | |
filter: | (NSString *) | filter | |
获取服务器上的直播列表
[in] | begindex | 分页的起始索引。 |
[in] | ncount | 分页的请求数量。 |
[in] | filter | 查询条件,以json表示,如:{ "roomId":"hafds2324" }。 |
获取特定直播详细信息
[in] | liveId | 直播号。 |
+ (AVDLive*) instance |
获取AVD直播对象
停止特定直播
[in] | liveId | 直播号。 |
|
readwritenonatomicweak |
直播回调代理