1
Fork 0

Send sender report more often.

Now that we start at 200kbps, we need to increase our rate faster.
This commit is contained in:
Juliusz Chroboczek 2021-05-14 23:20:19 +02:00
parent 54cd546120
commit c0da658b9f
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ func sendSR(conn *rtpDownConnection) error {
func rtcpDownSender(conn *rtpDownConnection) {
for {
time.Sleep(time.Second)
time.Sleep(time.Second / 2)
err := sendSR(conn)
if err != nil {
if err == io.EOF || err == io.ErrClosedPipe {