Revert configurable packet size for RepackG711

This commit is contained in:
seydx
2025-10-28 12:50:36 +01:00
parent 25e7ac531e
commit 62a9046f01
3 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (c *Conn) AddTrack(media *core.Media, codec *core.Codec, track *core.Receiv
if c.mode == core.ModeActiveProducer && track.Codec.Name == core.CodecPCMA {
// Fix Reolink Doorbell https://github.com/AlexxIT/go2rtc/issues/331
sender.Handler = pcm.RepackG711(true, 0, sender.Handler)
sender.Handler = pcm.RepackG711(true, sender.Handler)
}
sender.HandleRTP(track)