Commit c0da658b authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Send sender report more often.

Now that we start at 200kbps, we need to increase our rate faster.
parent 54cd5461
...@@ -1022,7 +1022,7 @@ func sendSR(conn *rtpDownConnection) error { ...@@ -1022,7 +1022,7 @@ func sendSR(conn *rtpDownConnection) error {
func rtcpDownSender(conn *rtpDownConnection) { func rtcpDownSender(conn *rtpDownConnection) {
for { for {
time.Sleep(time.Second) time.Sleep(time.Second / 2)
err := sendSR(conn) err := sendSR(conn)
if err != nil { if err != nil {
if err == io.EOF || err == io.ErrClosedPipe { if err == io.EOF || err == io.ErrClosedPipe {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment