fixed potentially skipping offer in PCTransport
this could explain the "missing" track problem when the server fails to send some tracks to some of the subscribers
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ func checkUDPReadBuffer() (int, error) {
|
||||
return 0, err
|
||||
}
|
||||
defer func() { _ = conn.Close() }()
|
||||
_ = conn.SetReadBuffer(minUDPBufferSize)
|
||||
_ = conn.SetReadBuffer(defaultUDPBufferSize)
|
||||
fd, err := conn.File()
|
||||
if err != nil {
|
||||
return 0, nil
|
||||
|
||||
Reference in New Issue
Block a user