跳转至
400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

TKVideoStats类

说明 类型
Inherits from NSObject
Declared in TKRoomDefines.h

概览

视频统计数据

bitsPerSecond

带宽 bps

@property (assign, nonatomic) NSInteger bitsPerSecond;

totalBytes

总字节数

@property (assign, nonatomic) int64_t totalBytes;

packetsLost

丢包数

@property (assign, nonatomic) NSInteger packetsLost;

totalPackets

总包数

@property (assign, nonatomic) NSInteger totalPackets;

currentDelay

延迟 毫秒

@property (assign, nonatomic) NSInteger currentDelay;

frameRate

帧率

@property (assign, nonatomic) NSInteger frameRate;

frameWidth

视频宽

@property (assign, nonatomic) NSInteger frameWidth;

frameHeight

视频高

@property (assign, nonatomic) NSInteger frameHeight;

netLevel

网络质量

@property (assign, nonatomic) TKNetQuality netLevel;

timeStamp

时间戳

@property (assign, nonatomic) NSInteger timeStamp;