mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-10-15 20:20:56 +08:00
fix tests
This commit is contained in:
@@ -269,7 +269,7 @@ func TestRTSPSourceDynamicH264Params(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
stream.WritePacketRTP(0, pkts[0], true)
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
func() {
|
||||
c := gortsplib.Client{}
|
||||
@@ -298,6 +298,8 @@ func TestRTSPSourceDynamicH264Params(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
stream.WritePacketRTP(0, pkts[0], true)
|
||||
|
||||
time.Sleep(500 * time.Millisecond)
|
||||
|
||||
func() {
|
||||
c := gortsplib.Client{}
|
||||
|
||||
|
Reference in New Issue
Block a user