VCMJitterBuffer
- VCMJitterBuffer 是JB的核心类了把
- 2019年的版本,webrtc已经不用这个机制了???
- JB的操作,实际上是围绕 decodable_frames_,incomplete_frames_,free_frames_的处理
- 收到视频数据解析出rtp包后,会调用InsertPacket 插入JB中
- VCMJitterBuffer的InsertPacket函数对数据包进行缓存和重排
//向frame中插入一个包,frame是GetFrame() 返回的,如果GetFrame 返回值小于等于0,
//那么,这个frame是无效的,那么InsertPacket 返回后,这个(frame指针??)必须丢弃。
// Inserts a packet into a frame returned from GetFrame().
// If the return value is <= 0, |frame| is invalidated and the pointer must
// be dropped after t