mirror of
https://github.com/aler9/gortsplib
synced 2025-10-30 18:16:29 +08:00
client: support servers that send frames with a frequency lower than 1sec
This commit is contained in:
@@ -595,7 +595,7 @@ func (cc *ClientConn) runBackgroundPlayTCP() error {
|
||||
// therefore, we disable the deadline and perform check with a ticker.
|
||||
cc.nconn.SetReadDeadline(time.Time{})
|
||||
|
||||
var lastFrameTime int64
|
||||
lastFrameTime := time.Now().Unix()
|
||||
|
||||
readerDone := make(chan error)
|
||||
go func() {
|
||||
|
||||
Reference in New Issue
Block a user