mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-24 20:11:56 -08:00
add delay before gstreamer tests
This commit is contained in:
parent
6bc240daf2
commit
cea8fe358b
2 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue