|
NERtc Unity SDK
V5.4.5
|
Public 成员函数 | |
| void | OnRequestSendKeyFrame (RtcVideoStreamType streamType) |
| void | OnBitrateUpdated (uint bps, RtcVideoStreamType streamType) |
| void | OnVideoCodecUpdated (RtcVideoCodecType codecType, RtcVideoStreamType streamType) |
IVideoEncoderQosObserver 回调扩展接口类用于 SDK 向 App 上报视频编码qos信息。
| void nertc.IVideoEncoderQosObserver.OnRequestSendKeyFrame | ( | RtcVideoStreamType | streamType | ) |
I 帧请求事件回调。
| 参数名称 | 类型 | 描述 |
|---|---|---|
| streamType | RtcVideoStreamType | 视频通道类型:
|
| void nertc.IVideoEncoderQosObserver.OnBitrateUpdated | ( | uint | bps, |
| RtcVideoStreamType | streamType | ||
| ) |
视频码率信息回调。
| 参数名称 | 类型 | 描述 |
|---|---|---|
| bps | uint32_t | 码率。单位为 kbps。 |
| streamType | RtcVideoStreamType | 视频通道类型:
|
| void nertc.IVideoEncoderQosObserver.OnVideoCodecUpdated | ( | RtcVideoCodecType | codecType, |
| RtcVideoStreamType | streamType | ||
| ) |
视频编码器类型信息回调。
| 参数名称 | 类型 | 描述 |
|---|---|---|
| codecType | RtcVideoCodecType | 视频编码器类型:
|
| streamType | RtcVideoStreamType | 视频通道类型:
|