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