👌 IMPROVE: 适配engine4.8.7的变化

This commit is contained in:
dexter
2022-11-27 17:45:26 +08:00
parent 0e98522556
commit 7260320194
3 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ func (suber *WebRTCSubscriber) OnEvent(event any) {
suber.flvHeadCache[0] = 9
suber.DC.Send(codec.FLVHeader)
}
suber.DC.Send(util.ConcatBuffers(v.FLV))
suber.DC.Send(util.ConcatBuffers(codec.VideoAVCC2FLV(v.AVCC,0)))
}
case VideoRTP:
if suber.videoTrack != nil {