LocalStats
本地视频流统计信息。
getWidth()
Section titled “getWidth()”定义
public int getWidth()说明 视频的宽度,以像素为单位。
返回值
视频画面宽度。
getHeight()
Section titled “getHeight()”定义
public int getHeight()说明 视频的高度,以像素为单位。
返回值
视频画面高度。
getFps()
Section titled “getFps()”定义
public int getFps()说明 视频帧率,在传输过程中帧率会根据采集情况/当前网络情况等不断变化。
返回值
视频帧率。
getTxBytes()
Section titled “getTxBytes()”定义
public long getTxBytes()返回值
本地视频流已发送的字节数。
getTxBitRate()
Section titled “getTxBitRate()”定义
public int getTxBitRate()说明 本地视频流的发送速率,以 kbps 为单位。
返回值
本地视频流发送速率。