|
|
|
@ -49,8 +49,8 @@ test:
@@ -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:
@@ -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
|
|
|
|
|