NIMChatroomCdnTrackInfo.h 821 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // NIMChatroomCdnTrackInfo.h
  3. // NIMLib
  4. //
  5. // Created by 丁文超 on 2020/7/8.
  6. // Copyright © 2020 Netease. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NIMChatroomCdnTrackInfo : NSObject
  11. /**
  12. * 基础信息
  13. * s: 成功次数
  14. * f: 失败次数
  15. * sr: 成功平均响应时间(s)
  16. * fr:失败平均响应时间(s)
  17. * smr:成功最大响应时间(s)
  18. * fmr:失败最大响应时间(s)
  19. * 例: {
  20. "cdn.netease.com": {
  21. "s": 10,
  22. "f": 5,
  23. "sr": 0.3,
  24. "fr": 0.2,
  25. "smr": 0.5,
  26. "fmr": 0.3
  27. }
  28. * }
  29. */
  30. @property (nonatomic, copy) NSDictionary *baseInfo;
  31. /**
  32. * 总共失败次数
  33. */
  34. @property (nonatomic, assign) NSInteger finalFailureCount;
  35. @end
  36. NS_ASSUME_NONNULL_END