实时音视频

  • 实时音视频 > API 文档 > iOS >QNRemoteAudioTrack

    QNRemoteAudioTrack

    最近更新时间:2021-11-05 10:45:17

    音频远端 Track 类
    Hierarchy
    Index
    Core Properties
    Core Methods
    Core Properties
    trackID
    • @property (nonatomic, strong) NSString *trackID;
    • 一路 Track 在 Server 端的唯一标识

    kind
    • @property (nonatomic, readonly) QNTrackKind kind;
    • 标识该路 Track 是音频还是视频

    tag
    • @property (nonatomic, strong) NSString *tag;
    • Track 的 tag

    muted
    • @property (nonatomic, assign, readonly) BOOL muted;
    • 标识 Track 是否为 mute 状态

    remoteDelegate
    • @property (nonatomic, weak) id<QNRemoteTrackDelegate> remoteDelegate;
    • 远端 Track 回调代理

    isSubscribed
    • @property (nonatomic, readonly)BOOL isSubscribed;
    • 是否已订阅

    audioDelegate
    • @property (nonatomic, weak) id<QNRemoteTrackAudioDataDelegate> audioDelegate;
    • 远端视频 Track 的代理

    Core Methods
    setVolume
    • - (void)setVolume:(float)volume;
    • 设置远端音频 Track 音量

      Parameters
      • volume: float

        音量值

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