Fix mp4f consumer (unused)

This commit is contained in:
Alexey Khit
2023-01-13 20:39:19 +03:00
parent 94f6c07b28
commit 7a3adf17be
+1 -1
View File
@@ -89,7 +89,7 @@ func (c *Consumer) AddTrack(media *streamer.Media, track *streamer.Track) *strea
return nil return nil
} }
if !codec.IsRAW() { if codec.IsRTP() {
wrapper := h264.RTPDepay(track) wrapper := h264.RTPDepay(track)
push = wrapper(push) push = wrapper(push)
} }