webrtc: print lost packets (#2468)

This commit is contained in:
Alessandro Ros
2023-10-06 21:06:29 +02:00
committed by GitHub
parent a6f929d111
commit c37fd38f5c
3 changed files with 13 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ func (s *webRTCSource) run(ctx context.Context, cnf *conf.PathConf, _ chan *conf
timeDecoder := rtptime.NewGlobalDecoder()
for _, track := range tracks {
track.start(rres.stream, timeDecoder)
track.start(rres.stream, timeDecoder, s)
}
select {