mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-12 18:00:12 +00:00
add delay before gstreamer tests
This commit is contained in:
parent
6bc240daf2
commit
cea8fe358b
@ -386,6 +386,8 @@ func TestPublishRead(t *testing.T) {
|
||||
})
|
||||
require.NoError(t, err)
|
||||
defer cnt1.close()
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
|
||||
time.Sleep(1 * time.Second)
|
||||
|
@ -1,5 +1,5 @@
|
||||
######################################
|
||||
FROM ubuntu:20.04 AS exitafterframe
|
||||
FROM ubuntu:20.04 AS build
|
||||
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
pkg-config \
|
||||
@ -36,7 +36,7 @@ RUN apt update && apt install -y --no-install-recommends \
|
||||
gstreamer1.0-libav \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=exitafterframe /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libexitafterframe.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/
|
||||
COPY --from=build /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libexitafterframe.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/
|
||||
|
||||
COPY emptyvideo.ts /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user