Set up virtual rtsp server for testing

Download rtsp server

https://github.com/bluenviron/mediamtx/releases

Download ffmpeg

ffmpeg -re -stream_loop -1 -i ./videoplayback.mp4 -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream

test it! rtsp://localhost:8554/mystream

Leave a Comment