Flyby Robotics
  • Getting Started
  • Nvidia Orin NX
  • Hardware Connectivity
  • Network
  • Video Streaming
    • Gstreamer C/C++
  • Payload Integrations
    • SDK Tutorial
  • Programmatic Drone Control
  • ArduPilot Developer Community
  • Capabilities
  • Download & View Logs
  • FAQ
  • Contact Us
Powered by GitBook
On this page
  • RTSP Server
  • Gstreamer

Was this helpful?

Video Streaming

Overview of the software stack available for video streaming

PreviousNetworkNextGstreamer C/C++

Last updated 11 months ago

Was this helpful?

RTSP Server

We use the open-source RTSP server. This server runs on boot at 0.0.0.0:8554, and uses the publish policy. Any service is able to publish to this server, which will create a new endpoint if none exists, or kick out an established endpoint.

Gstreamer

The version of Gstreamer that is loaded by default is 1.16.3. We preload the packages gstreamer1.0-rtsp and gstreamer1.0-plugins-good. There are multiple hardware-accelerated Gstreamer components that are developed by Nvidia, including nvv4l2decoder, that can be utilized. More information about these components can be found using gst-inspect-1.0.

Example Pipelines

  1. Publishing a sample video stream to the RTSP server

gst-launch-1.0 videotestsrc pattern=snow ! x264enc ! rtspclientsink location=rtsp://0.0.0.0:8554/test
  1. Forwarding a stream from a payload RTSP server to the Jetson RTSP server

gst-launch-1.0 rtspsrc latency=0 location=rtsp://<endpoint_ip>:<port>/<endpoint> ! rtph264depay ! rtspclientsink location=rtsp://0.0.0.0:8554/forward_endpoint
MediaMTX