mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
speedup tests
This commit is contained in:
@@ -1646,9 +1646,10 @@ func TestServerPlayTimeout(t *testing.T) {
|
||||
}, nil
|
||||
},
|
||||
},
|
||||
ReadTimeout: 1 * time.Second,
|
||||
sessionTimeout: 1 * time.Second,
|
||||
RTSPAddress: "localhost:8554",
|
||||
ReadTimeout: 1 * time.Second,
|
||||
sessionTimeout: 1 * time.Second,
|
||||
RTSPAddress: "localhost:8554",
|
||||
checkStreamPeriod: 500 * time.Millisecond,
|
||||
}
|
||||
|
||||
switch transport {
|
||||
|
@@ -1092,8 +1092,9 @@ func TestServerRecordTimeout(t *testing.T) {
|
||||
}, nil
|
||||
},
|
||||
},
|
||||
ReadTimeout: 1 * time.Second,
|
||||
RTSPAddress: "localhost:8554",
|
||||
ReadTimeout: 1 * time.Second,
|
||||
RTSPAddress: "localhost:8554",
|
||||
checkStreamPeriod: 500 * time.Millisecond,
|
||||
}
|
||||
|
||||
if transport == "udp" {
|
||||
|
Reference in New Issue
Block a user