QNRemoteTrack
Hierarchy
Index
Core Methods
Core Methods
GetTrackID
- virtual const std::string& GetTrackID() = 0
-
获取 TrackID
Returns string
GetUserID
- virtual const std::string& GetUserID() = 0
-
获取 UserID
Returns string
GetTag
- virtual const std::string& GetTag() = 0
-
获取 Tag
Returns string
IsAudio
- virtual bool IsAudio() = 0
-
是否为音频 track
Returns bool
IsVideo
- virtual bool IsVideo() = 0
-
是否为视频 track
Returns bool
IsMuted
- virtual bool IsMuted() = 0
-
是否 muted
Returns bool
SetTrackInfoChangedListener
- virtual void SetTrackInfoChangedListener(QNTrackInfoChangedListener* listener) = 0
-
设置当前轨道信息变化监听器
Parameters-
listener: QNTrackInfoChangedListener
轨道信息变化监听器
-
IsSubscribed
- virtual bool IsSubscribed() = 0;
-
该 Track 是否被订阅
Returns bool
文档反馈
(如有产品使用问题,请 提交工单)