实时音视频

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

    QNRemoteTrackVideoDataDelegate

    最近更新时间:2021-11-05 18:33:42

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

      Parameters
      • remoteVideoTrack: QNRemoteVideoTrack

        远端视频 Track

      • pixelBuffer: CVPixelBufferRef

        CVPixelBufferRef 格式的视频数据

    didSubscribeProfileChanged
    • - (void)remoteVideoTrack:(QNRemoteVideoTrack *)remoteVideoTrack didSubscribeProfileChanged:(QNTrackProfile)profile;
    • 订阅的远端视频 Track 分辨率发生变化时的回调

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