QNRemoteAudioTrackStats.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // QNRemoteAudioTrackStats.h
  3. // QNRTCKit
  4. //
  5. // Created by 何云旗 on 2021/8/24.
  6. // Copyright © 2021 Pili Engineering, Qiniu Inc. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface QNRemoteAudioTrackStats : NSObject
  11. /*!
  12. * @abstract 远端音频下行码率,单位 bps。
  13. *
  14. * @discussion 当前应用下载对应轨道时的码率,和远端用户上行无关
  15. *
  16. * @since v4.0.0
  17. */
  18. @property (nonatomic, assign, readonly) double downlinkBitrate;
  19. /*!
  20. * @abstract 远端音频下行网络丢包率,百分比 [0, 100]。
  21. *
  22. * @discussion 当前应用下载对应轨道时的网络丢包率,和远端用户上行无关
  23. *
  24. * @since v4.0.0
  25. */
  26. @property (nonatomic, assign, readonly) double downlinkLostRate;
  27. /*!
  28. * @abstract 远端音频上行网络延迟,单位 ms。
  29. *
  30. * @discussion 表示远端用户上传自身音频数据时的网络延时
  31. *
  32. * @since v4.0.0
  33. */
  34. @property (nonatomic, assign, readonly) NSUInteger uplinkRTT;
  35. /*!
  36. * @abstract 远端音频上行网络丢包率,百分比 [0, 100]。
  37. *
  38. * @discussion 表示远端用户上传自身音频数据时的网络丢包率
  39. *
  40. * @since v4.0.0
  41. */
  42. @property (nonatomic, assign, readonly) double uplinkLostRate;
  43. @end
  44. NS_ASSUME_NONNULL_END