cn.tee3.avd_SDK-Objectc
2.1.0
|
直播观众接口类 更多...
类方法 | |
(AVDLivecastViewer *) | + obtain: |
获取或创建直播观众房间对象 更多... | |
![]() | |
(AVDResult) | + setLivecastId: |
设置直播Id 更多... | |
(AVDLivecast *) | + instance |
获取直播接口 更多... | |
(void) | + destory |
释放直播接口 更多... | |
属性 | |
id< AVDLivecastViewerDelegate > | delegate2 |
直播回调代理 更多... | |
![]() | |
id< AVDLivecastDelegate > | delegate |
直播回调代理 更多... | |
id< AVDStreamStatsDelegate > | streamStatsdelegate |
直播推流状态回调代理 更多... | |
AVDVideoParams * | videoParams |
视频参数 更多... | |
AVDAudioParams * | audioParams |
音频参数 更多... | |
enum AVDLivecastStatus | status |
直播状态 更多... | |
BOOL | isMicrophoneMute |
麦克风是否mute状态 更多... | |
直播观众接口类
直播观众接口定义了直播观众对象创建、直播观看和连麦操作。
- (( unavailable("init is not a supported initializer for this class.") __attribute__ |
实现了 AVDLivecast.
- (AVDResult) dialogue |
与主播连麦对话
- (NSString*) getPlayUrl |
for detail viewer imp
获取直播播放地址
- (id<AVDVideoRenderer>) getRender |
获取对讲视频显示对象
- (instancetype) initWithRoomId: | (AVDRoomId) | roomId |
+ (AVDLivecastViewer*) obtain: | (AVDRoomId) | roomId |
获取或创建直播观众房间对象
[in] | roomId | 直播房间Id。 |
- (AVDResult) watchRoom: | (NSString *) | playUrl | |
render: | (id< AVDVideoRenderer >) | render | |
进入直播房间观看
[in] | playUrl | 直播的播放地址。 |
[in] | *render | 本地预览render接口。 |
|
readwritenonatomicweak |
直播回调代理