mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-28 05:51:59 -08:00
fix tests
This commit is contained in:
parent
ce42c53a03
commit
f71b7d8967
1 changed files with 3 additions and 1 deletions
|
|
@ -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{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue