H265 I帧多slice情况下导致花屏问题

H265 I帧分片多包情况下,GPO缓冲只保存了I帧最后一个分片导致花屏
This commit is contained in:
baiyfcu
2021-06-09 09:51:28 +08:00
parent b0af056356
commit ca192a4286
4 changed files with 23 additions and 11 deletions

View File

@@ -499,7 +499,6 @@ void RtmpSession::onRtmpChunk(RtmpPacket::Ptr packet) {
void RtmpSession::onCmd_seek(AMFDecoder &dec) {
dec.load<AMFValue>();/* NULL */
AMFValue status(AMF_OBJECT);
AMFEncoder invoke;
status.set("level", "status");
status.set("code", "NetStream.Seek.Notify");
status.set("description", "Seeking.");