Fix MP4f test consumer

This commit is contained in:
Alexey Khit
2022-11-11 22:00:45 +03:00
parent b8cab5db60
commit 2f68711405
+1 -1
View File
@@ -89,7 +89,7 @@ func (c *Consumer) AddTrack(media *streamer.Media, track *streamer.Track) *strea
return nil return nil
} }
if !h264.IsAVC(codec) { if !codec.IsMP4() {
wrapper := h264.RTPDepay(track) wrapper := h264.RTPDepay(track)
push = wrapper(push) push = wrapper(push)
} }