音视频通讯SDK API参考手册
Windows 1.6.0
|
多人音视频房间的封装类。 更多...
#include <av_room_pair.h>
类 | |
struct | EnterRoomParam |
调用EnterRoom()进入双人房间时候的入参。 更多... | |
Public 类型 | |
typedef AVRoom::Delegate | Delegate |
Public 类型 继承自 tencent::av::AVRoom | |
enum | RoomType { ROOM_TYPE_NONE = 0, ROOM_TYPE_PAIR = 1, ROOM_TYPE_MULTI = 2 } |
音视频房间类型。 更多... | |
enum | Mode { MODE_AUDIO = 0, MODE_VIDEO = 1 } |
音视频通话模式。 更多... | |
enum | AudioCategory { AUDIO_CATEGORY_VOICECHAT = 0, AUDIO_CATEGORY_MEDIA_PLAY_AND_RECORD = 1, AUDIO_CATEGORY_MEDIA_PLAYBACK = 2 } |
音视场景策略。 更多... | |
enum | EndpointEventId { EVENT_ID_NONE = 0, EVENT_ID_ENDPOINT_ENTER = 1, EVENT_ID_ENDPOINT_EXIT = 2, EVENT_ID_ENDPOINT_HAS_CAMERA_VIDEO = 3, EVENT_ID_ENDPOINT_NO_CAMERA_VIDEO = 4, EVENT_ID_ENDPOINT_HAS_AUDIO = 5, EVENT_ID_ENDPOINT_NO_AUDIO = 6, EVENT_ID_ENDPOINT_HAS_SCREEN_VIDEO = 7, EVENT_ID_ENDPOINT_NO_SCREEN_VIDEO = 8 } |
成员事件id 更多... | |
Public 成员函数 | |
virtual AVEndpoint * | GetEndpointById (const std::string &identifier)=0 |
获得房间成员的AVEndpoint对象。 更多... | |
Public 成员函数 继承自 tencent::av::AVRoom | |
virtual const Info * | GetRoomInfo ()=0 |
获得房间的配置信息。 更多... | |
virtual uint64 | GetRoomId ()=0 |
获得房间的id。 更多... | |
virtual RoomType | GetRoomType ()=0 |
获得房间的类型。 更多... | |
virtual std::string | GetQualityTips ()=0 |
获取通话中实时房间质量相关信息,业务侧可以不用关心,主要用来查看通话情况、排查问题等。 更多... | |
virtual void | SetNetType (NetStateType type)=0 |
设置当前网络类型。 更多... | |
virtual int32 | RequestViewList (const std::vector< std::string > identifier_list, const std::vector< View > view_list, AVEndpoint::RequestViewListCompleteCallback complete_callback, void *custom_data)=0 |
同时请求多个成员的视频画面。 更多... | |
virtual int32 | CancelAllView (AVEndpoint::CancelAllViewCompleteCallback complete_callback, void *custom_data)=0 |
取消所有请求的视频画面。 更多... | |
Protected 成员函数 | |
virtual | ~AVRoomPair () |
Protected 成员函数 继承自 tencent::av::AVRoom | |
virtual | ~AVRoom () |
|
protectedvirtual |
|
pure virtual |
帐号名(用户名)可以作为房间成员之间的唯一标识。 App可以通过此成员函数获得指定的AVEndpoint对象。
identifier | 要获得的AVEndpoint对象的帐号名(用户名)。 |