为什么 webrtc 中 p 帧的 num_references 是 1?
Why the num_references is 1 for p frames in webrtc?
在webrtc中,非关键帧的参考帧是1:
frame->num_references = frame->frame_type() == kVideoFrameKey ? 0 : 1;
但是对于h264,参考帧最多可以是16个?为什么在webrtc中是1?
查看文件中其他出现的 frame->num_references
,您会发现它并不总是 0 或 1。
在webrtc中,非关键帧的参考帧是1:
frame->num_references = frame->frame_type() == kVideoFrameKey ? 0 : 1;
但是对于h264,参考帧最多可以是16个?为什么在webrtc中是1?
查看文件中其他出现的 frame->num_references
,您会发现它并不总是 0 或 1。