An attempt to use consistent layer mapping (#986)

* WIP commit

* Consistent layers.

* slight re-arrangement of code

* log mime

* fix tests

* map -> array
This commit is contained in:
Raja Subramanian authored and GitHub committed 2022-09-07 09:57:31 +05:30
1 parent aaeba74402
commit d76f7811e9
14 files changed
+832 -151

No files matched your search

-2
View File
@@ -476,8 +476,6 @@ func (b *Buffer) getExtPacket(rawPacket []byte, rtpPacket *rtp.Packet, arrivalTi
}
case "video/h264":
ep.KeyFrame = IsH264Keyframe(rtpPacket.Payload)
case "video/vp9":
ep.KeyFrame = IsVp9Keyframe(rtpPacket.Payload)
case "video/av1":
ep.KeyFrame = IsAV1Keyframe(rtpPacket.Payload)
}