Enable video streaming (default to running gazebo_typhoon_h480)
Run Xvfb in the background (required for video streaming, thanks @mrivi :wink:)
Run a gstreamer RTP-to-RTSP proxy to expose the video stream over RTSP
on port 8554
As a result, one can now just expose port 8554 and access it from the host, e.g.:
docker run --rm -it -p 8554:8554 jonasvautherin/px4-gazebo-headless:latest
And then access it from VLC:
vlc rtsp://127.0.0.1:8554/live
@julianoes @Jaeyoung-Lim: FYI. Once merged into master, this will automatically generate jonasvautherin/px4-gazebo-headless:latest on docker hub. I'm planning to add some options later like choosing the drone (iris vs typhoon h480), and why not the world :blush:?
As a result, one can now just expose port 8554 and access it from the host, e.g.:
And then access it from VLC:
@julianoes @Jaeyoung-Lim: FYI. Once merged into
master
, this will automatically generatejonasvautherin/px4-gazebo-headless:latest
on docker hub. I'm planning to add some options later like choosing the drone (iris vs typhoon h480), and why not the world :blush:?