mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 12:32:01 -08:00
rename folder
This commit is contained in:
parent
11bb1ef44e
commit
0b99a2fddc
10 changed files with 4 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -49,8 +49,8 @@ test:
|
|||
make test-nodocker
|
||||
|
||||
test-nodocker:
|
||||
$(foreach IMG,$(shell echo test-images/*/ | xargs -n1 basename), \
|
||||
docker build -q test-images/$(IMG) -t rtsp-simple-server-test-$(IMG)$(NL))
|
||||
$(foreach IMG,$(shell echo testimages/*/ | xargs -n1 basename), \
|
||||
docker build -q testimages/$(IMG) -t rtsp-simple-server-test-$(IMG)$(NL))
|
||||
go test -race -v .
|
||||
|
||||
stress:
|
||||
|
|
@ -80,7 +80,7 @@ paths:
|
|||
# runOnPublish: ffmpeg -i rtsp://localhost:8554/$$RTSP_SERVER_PATH -c copy -f mpegts myfile_$$RTSP_SERVER_PATH.ts
|
||||
# readUser: test
|
||||
# readPass: tast
|
||||
# runOnDemand: ffmpeg -re -stream_loop -1 -i test-images/ffmpeg/emptyvideo.ts -c copy -f rtsp rtsp://localhost:8554/$$RTSP_SERVER_PATH
|
||||
# runOnDemand: ffmpeg -re -stream_loop -1 -i testimages/ffmpeg/emptyvideo.ts -c copy -f rtsp rtsp://localhost:8554/$$RTSP_SERVER_PATH
|
||||
|
||||
# proxied:
|
||||
# source: rtsp://192.168.2.198:8554/stream
|
||||
|
|
|
|||
|
|
@ -481,7 +481,7 @@ func TestRunOnDemand(t *testing.T) {
|
|||
stdin := []byte("\n" +
|
||||
"paths:\n" +
|
||||
" all:\n" +
|
||||
" runOnDemand: ffmpeg -hide_banner -loglevel error -re -i test-images/ffmpeg/emptyvideo.ts -c copy -f rtsp rtsp://localhost:8554/$RTSP_SERVER_PATH\n")
|
||||
" runOnDemand: ffmpeg -hide_banner -loglevel error -re -i testimages/ffmpeg/emptyvideo.ts -c copy -f rtsp rtsp://localhost:8554/$RTSP_SERVER_PATH\n")
|
||||
p1, err := newProgram([]string{"stdin"}, bytes.NewBuffer(stdin))
|
||||
require.NoError(t, err)
|
||||
defer p1.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue