Send sender report more often.
Now that we start at 200kbps, we need to increase our rate faster.
This commit is contained in:
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user