-
Notifications
You must be signed in to change notification settings - Fork 556
Custom video stream
Starting with Tower v3.2.1, you can pipe a custom video stream to the Tower video widget.
This feature has been successfully tested with gstreamer
running on an Ubuntu machine, and providing a h264
encoded video stream.
The gstreamer pipeline used is:
gst-launch videotestsrc ! 'video/x-raw, width=1280, height=720, framerate=(fraction)24/1' ! x264enc ! rtph264pay ! udpsink port=<device_port> host=<device_ip>
Where <device_ip>
corresponds to your device's IP address, and <device_port>
the UDP port from which to receive the video stream.
-
Navigate to
Settings
->User Interface
-
Click on
Widgets Preferences
-
Enable the Video widget and click on the gear icon
-
In the video widget preference screen, select Custom video stream, and enter the UDP Port the video is being streamed at.
-
Go back to the flight screen, and connect to your vehicle. If configured correctly, the video widget will start displaying the custom video stream!