实时音视频

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

    QNLocalVideoTrackStats

    最近更新时间: 2023-08-22 12:08:01

    本地视频轨道的统计数据,可以通过 QNRTCClient.getLocalVideoTrackStats 获取,通过 trackID 获取对应轨道的统计信息

    如果发布时设置了 QNCameraVideoTrackConfig.multiStreamEnable,则返回的 List 中包含多个 QNLocalVideoTrackStats,每个对应不同的 QNTrackProfile

    Index
    Core Properties
    Core Properties
    profile
    • @property (nonatomic, assign, readonly) QNTrackProfile profile;
    • 本地视频上行 profile

    uplinkFrameRate
    • @property (nonatomic, assign, readonly) NSUInteger uplinkFrameRate;
    • 本地视频上行帧率

    uplinkBitrate
    • @property (nonatomic, assign, readonly) double uplinkBitrate;
    • 本地视频上行码率,单位 bps

    uplinkRTT
    • @property (nonatomic, assign, readonly) NSUInteger uplinkRTT;
    • 本地视频上行网络延时,单位毫秒

    uplinkLostRate
    • @property (nonatomic, assign, readonly) double uplinkLostRate;
    • 本地视频上行丢包率百分比,范围 [0, 100]

    uplinkFrameWidth
    • @property (nonatomic, assign, readonly) NSUInteger uplinkFrameWidth;
    • 本地视频上行视频帧宽度

    uplinkFrameHeight
    • @property (nonatomic, assign, readonly) NSUInteger uplinkFrameHeight;
    • 本地视频上行视频帧高度

    captureFrameRate
    • @property (nonatomic, assign, readonly) NSUInteger captureFrameRate;
    • 采集视频帧率

    captureFrameWidth
    • @property (nonatomic, assign, readonly) NSUInteger captureFrameWidth;
    • 采集视频帧宽度

    captureFrameHeight
    • @property (nonatomic, assign, readonly) NSUInteger captureFrameHeight;
    • 采集视频帧高度

    targetFrameRate
    • @property (nonatomic, assign, readonly) NSUInteger targetFrameRate;
    • 期望的视频帧率

    targetFrameWidth
    • @property (nonatomic, assign, readonly) NSUInteger targetFrameWidth;
    • 期望的视频帧宽度

    targetFrameHeight
    • @property (nonatomic, assign, readonly) NSUInteger targetFrameHeight;
    • 期望的视频帧高度

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