实时音视频

  • 实时音视频 > API 文档 > HarmonyOS >QNRemoteVideoTrack

    QNRemoteVideoTrack

    最近更新时间: 2024-11-27 17:44:13

    视频远端 Track 类
    Hierarchy
    Index
    Core Methods
    Core Methods
    GetTrackID
    • GetTrackID(): string
    • 获取 TrackID,仅当发布成功后,才可以获取到有效的 TrackID

      Returns string
    GetUserID
    • GetUserID(): string
    • 获取 UserID

      Returns string
    GetTag
    • GetTag(): string
    • 获取 Tag

      Returns string
    IsAudio
    • IsAudio(): boolean
    • 是否为音频 Track

      Returns boolean
    IsVideo
    • IsVideo(): boolean
    • 是否为视频 Track

      Returns boolean
    IsMuted
    • IsMuted(): boolean
    • 该 Track 是否处于静默状态

      Returns boolean
    IsSubscribed
    • IsSubscribed(): boolean
    • 该 Track 是否被订阅

      Returns boolean
    Play
    以上内容是否对您有帮助?
  • Qvm free helper
    Close