实时音视频

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

    QNRemoteVideoTrackDelegate

    最近更新时间: 2022-06-30 15:50:27

    远端视频 Track 回调代理,可通过 QNRemoteVideoTrack.delegate 进行设置,用来实现远端视频 Track 数据以及发生变化的回调。
    Index
    Core Methods
    Core Methods
    didGetPixelBuffer
    • - (void)remoteVideoTrack:(QNRemoteVideoTrack *)remoteVideoTrack didGetPixelBuffer:(CVPixelBufferRef)pixelBuffer
    • 远端视频 Track 的视频数据回调

      Parameters
      • remoteVideoTrack: QNRemoteVideoTrack

        远端视频 Track

      • pixelBuffer: CVPixelBufferRef

        具体的视频数据格式,可通过 CVPixelBufferGetPixelFormatType 获取

    didMuteStateChanged
    • - (void)remoteVideoTrack:(QNRemoteVideoTrack *)remoteVideoTrack didMuteStateChanged:(BOOL)isMuted;
    • 远端视频 Track 静默的回调

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