LiteAVSDK
腾讯云音视频 SDK ,服务于数万家企业客户的高可用组件,致力于最大限度地节省您的研发成本。
Common

详细描述

回调状态定义 ,目前提供视频速度、音频速度、帧率、视频缓冲、音频缓冲、视频大小、服务器地址信息 状态键名定义

静态 Public 属性

static const int TXE_STATUS_UPLOAD_EVENT = 200001
 
static const int TXE_STATUS_DOWNLOAD_EVENT = 200002
 
static const String ^ NET_STATUS_CPU_USAGE = "CPU_USAGE"
 
static const String ^ NET_STATUS_CPU_USAGE_D = "CPU_USAGE_DEVICE"
 
static const String ^ NET_STATUS_VIDEO_BITRATE = "VIDEO_BITRATE"
 
static const String ^ NET_STATUS_AUDIO_BITRATE = "AUDIO_BITRATE"
 
static const String ^ NET_STATUS_VIDEO_FPS = "VIDEO_FPS"
 
static const String ^ NET_STATUS_VIDEO_GOP = "VIDEO_GOP"
 
static const String ^ NET_STATUS_NET_SPEED = "NET_SPEED"
 
static const String ^ NET_STATUS_NET_JITTER = "NET_JITTER"
 
static const String ^ NET_STATUS_CACHE_SIZE = "CACHE_SIZE"
 
static const String ^ NET_STATUS_DROP_SIZE = "DROP_SIZE"
 
static const String ^ NET_STATUS_VIDEO_WIDTH = "VIDEO_WIDTH"
 
static const String ^ NET_STATUS_VIDEO_HEIGHT = "VIDEO_HEIGHT"
 
static const String ^ NET_STATUS_SERVER_IP = "SERVER_IP"
 
static const String ^ NET_STATUS_CODEC_CACHE = "CODEC_CACHE"
 
static const String ^ NET_STATUS_CODEC_DROP_CNT = "CODEC_DROP_CNT"
 
static const String ^ NET_STATUS_SET_VIDEO_BITRATE = "SET_VIDEO_BITRATE"
 
static const String ^ EVT_MSG = "EVT_MSG"
 
static const String ^ EVT_TIME = "EVT_TIME"
 
static const String ^ EVT_PARAM1 = "EVT_PARAM1"
 
static const String ^ EVT_PARAM2 = "EVT_PARAM2"
 
static const String ^ EVT_PLAY_PROGRESS = "EVT_PLAY_PROGRESS"
 
static const String ^ EVT_PLAY_DURATION = "EVT_PLAY_DURATION"
 
static const String ^ EVT_PLAYABLE_DURATION = "PLAYABLE_DURATION"
 
static const String ^ EVT_REPORT_TOKEN = "EVT_REPORT_TOKEN"
 
static const String ^ STREAM_ID = "STREAM_ID"
 

结构体成员变量说明

◆ EVT_MSG

const String ^ EVT_MSG = "EVT_MSG"
static

◆ EVT_PARAM1

const String ^ EVT_PARAM1 = "EVT_PARAM1"
static

◆ EVT_PARAM2

const String ^ EVT_PARAM2 = "EVT_PARAM2"
static

◆ EVT_PLAY_DURATION

const String ^ EVT_PLAY_DURATION = "EVT_PLAY_DURATION"
static

◆ EVT_PLAY_PROGRESS

const String ^ EVT_PLAY_PROGRESS = "EVT_PLAY_PROGRESS"
static

◆ EVT_PLAYABLE_DURATION

const String ^ EVT_PLAYABLE_DURATION = "PLAYABLE_DURATION"
static

◆ EVT_REPORT_TOKEN

const String ^ EVT_REPORT_TOKEN = "EVT_REPORT_TOKEN"
static

◆ EVT_TIME

const String ^ EVT_TIME = "EVT_TIME"
static

◆ NET_STATUS_AUDIO_BITRATE

const String ^ NET_STATUS_AUDIO_BITRATE = "AUDIO_BITRATE"
static

当前音频编码器输出的比特率,也就是编码器每秒生产了多少音频数据,单位 KBPS

◆ NET_STATUS_CACHE_SIZE

const String ^ NET_STATUS_CACHE_SIZE = "CACHE_SIZE"
static

缓冲区大小,缓冲区越大,说明当前上行带宽不足以消费掉已经生产的视频数据

◆ NET_STATUS_CODEC_CACHE

const String ^ NET_STATUS_CODEC_CACHE = "CODEC_CACHE"
static

编解码缓冲大小

◆ NET_STATUS_CODEC_DROP_CNT

const String ^ NET_STATUS_CODEC_DROP_CNT = "CODEC_DROP_CNT"
static

编解码队列DROPCNT

◆ NET_STATUS_CPU_USAGE

const String ^ NET_STATUS_CPU_USAGE = "CPU_USAGE"
static

cpu使用率

◆ NET_STATUS_CPU_USAGE_D

const String ^ NET_STATUS_CPU_USAGE_D = "CPU_USAGE_DEVICE"
static

设备总CPU占用

◆ NET_STATUS_DROP_SIZE

const String ^ NET_STATUS_DROP_SIZE = "DROP_SIZE"
static

◆ NET_STATUS_NET_JITTER

const String ^ NET_STATUS_NET_JITTER = "NET_JITTER"
static

网络抖动情况,抖动越大,网络越不稳定

◆ NET_STATUS_NET_SPEED

const String ^ NET_STATUS_NET_SPEED = "NET_SPEED"
static

当前的发送速度

◆ NET_STATUS_SERVER_IP

const String ^ NET_STATUS_SERVER_IP = "SERVER_IP"
static

◆ NET_STATUS_SET_VIDEO_BITRATE

const String ^ NET_STATUS_SET_VIDEO_BITRATE = "SET_VIDEO_BITRATE"
static

◆ NET_STATUS_VIDEO_BITRATE

const String ^ NET_STATUS_VIDEO_BITRATE = "VIDEO_BITRATE"
static

当前视频编码器输出的比特率,也就是编码器每秒生产了多少视频数据,单位 KBPS

◆ NET_STATUS_VIDEO_FPS

const String ^ NET_STATUS_VIDEO_FPS = "VIDEO_FPS"
static

当前视频帧率,也就是视频编码器每条生产了多少帧画面

◆ NET_STATUS_VIDEO_GOP

const String ^ NET_STATUS_VIDEO_GOP = "VIDEO_GOP"
static

当前视频I帧间隔 ,也就是视频编码器每个I帧之间的间隔,单位S

◆ NET_STATUS_VIDEO_HEIGHT

const String ^ NET_STATUS_VIDEO_HEIGHT = "VIDEO_HEIGHT"
static

◆ NET_STATUS_VIDEO_WIDTH

const String ^ NET_STATUS_VIDEO_WIDTH = "VIDEO_WIDTH"
static

◆ STREAM_ID

const String ^ STREAM_ID = "STREAM_ID"
static

◆ TXE_STATUS_DOWNLOAD_EVENT

const int TXE_STATUS_DOWNLOAD_EVENT = 200002
static

拉流相关数据

◆ TXE_STATUS_UPLOAD_EVENT

const int TXE_STATUS_UPLOAD_EVENT = 200001
static

推流相关数据