update pion deps (#2667)

* update pion deps

* deps
This commit is contained in:
Paul Wells
2024-04-19 19:21:55 -07:00
committed by GitHub
parent f4745b8437
commit 680a07e896
4 changed files with 11 additions and 13 deletions
+1 -3
View File
@@ -96,9 +96,7 @@ func (d *DownTrackSpreader) Broadcast(writer func(TrackSender)) {
// 100µs is enough to amortize the overhead and provide sufficient load balancing.
// WriteRTP takes about 50µs on average, so we write to 2 down tracks per loop.
step := uint64(2)
utils.ParallelExec(downTracks, threshold, step, func(dt TrackSender) {
writer(dt)
})
utils.ParallelExec(downTracks, threshold, step, writer)
}
func (d *DownTrackSpreader) DownTrackCount() int {