1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

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

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 {