mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-06-27 11:28:51 +02:00
use time.Second to wait for 5s
This commit is contained in:
@ -76,7 +76,7 @@ func TestForwardStream(t *testing.T) {
|
||||
}
|
||||
}()
|
||||
|
||||
time.Sleep(5000000000) // Delay is in nanoseconds, here 5s
|
||||
time.Sleep(5 * time.Second) // Delay is in nanoseconds, here 5s
|
||||
|
||||
// FIXME
|
||||
//if ffmpegInputStreams["demo"] == nil {
|
||||
|
Reference in New Issue
Block a user