Send live video
Push a camera feed from a drone, rover or fixed camera into a mission and watch it in the browser. Every mission comes with a video stream already provisioned — take its RTSPS publish URL, point ffmpeg at it, and play it back over HLS or WebRTC.
How it works
Creating a mission provisions a stream for it. There is nothing to set up: the mission already carries a private publish URL to send video to and public playback URLs to watch it on. The stream id is a UUID and is the endpoint; a separate stream key is the publish password, so knowing a playback URL never lets anyone take over your feed.
create a mission on Ollebo │ a stream is provisioned and stored with it
▼
rtsps://ingest.ollebo.com:443/STREAM_ID (publish)
https://video.ollebo.com/STREAM_ID/index.m3u8 (watch)
▲
│ ffmpeg pushes H.264 over RTSPS
camera / drone / rover
Live playback (HLS / WebRTC) + every segment archived for replay
A device that reboots can register a stream of its own instead — the mission then has more than one, and Ollebo always shows the newest. Both routes are below.
1. Get your publish endpoint
Publishing needs two values: the stream id, which is the path, and the stream key, which is the password. There are three ways to get them — take the first that fits how your device starts up.
a. From the mission itself — nothing to call
The stream provisioned when the mission was created is stored on the mission, so unlike the two options below it can be read back as often as you like. On the Missions page, the Endpoints link in a mission's Stream column opens the publish URL, the publish key and the playback URLs, each with a Copy button.
The same values in machine-readable form: signed in to Ollebo, open
https://www.ollebo.com/api/missions in the browser — it returns the missions
in your current space as JSON, video fields and all:
{
"id": "e1c4...", "name": "demo", "key": "YOUR_MISSION_KEY",
"videoStreamId": "7540cc47-4cc6-4953-a1bd-d71243ce872d",
"videoIngestUrl": "rtsps://ingest.ollebo.com:443/7540cc47-...",
"videoPublishUser": "publish",
"videoPublishKey": "CuOMhkRbwbhPE6omA8P7vR4jXCnXSmgz",
"videoPlaybackHlsUrl": "https://video.ollebo.com/7540cc47-.../index.m3u8",
"videoPlaybackWebrtcUrl": "https://video.ollebo.com/7540cc47-.../whep"
}
That route is authorised by your Ollebo session, not by the mission key, so it is for you at a keyboard — not for the device. Copy the values onto the device once and you are done. A mission created before video existed has these fields empty; the Missions page shows a Provision button that fills them in, and a Re-provision button inside Endpoints when you want to swap a mission onto a fresh stream.
b. From the boot handshake — best for devices
GET /mission/{key}/hello registers a fresh stream for this boot and
returns it under a video key, alongside the event ingest URLs. A device that
already calls the handshake needs nothing else — see the
API reference.
curl -sS "https://api.ollebo.com/mission/$KEY/hello?device=drone-01"
c. By registering a stream yourself
The same call the handshake makes, for when you want a new endpoint on demand. Use your mission key from the Missions page.
KEY=YOUR_MISSION_KEY
VIDEO=https://video.ollebo.com
curl -sS -X POST "$VIDEO/v1/streams" \
-H 'Content-Type: application/json' \
-d '{"mission_key":"'"$KEY"'","device_name":"drone-01"}'
You get back everything you need:
{
"stream_id": "7540cc47-4cc6-4953-a1bd-d71243ce872d",
"state": "pending",
"publish": {
"username": "publish",
"password": "CuOMhkRbwbhPE6omA8P7vR4jXCnXSmgz",
"rtsps_url": "rtsps://ingest.ollebo.com:443/7540cc47-4cc6-4953-a1bd-d71243ce872d"
},
"playback": {
"hls": "https://video.ollebo.com/7540cc47-.../index.m3u8",
"webrtc": "https://video.ollebo.com/7540cc47-.../whep"
},
"archive": { "vod": "https://video.ollebo.com/v1/streams/7540cc47-.../vod.m3u8" }
}
publish block comes back
from that one call and never again — store it, or register another stream. Only the
mission's own endpoint (a) can be re-read later.
2. Publish with ffmpeg
Put the two values in your shell, then send H.264 over RTSPS. Ingest is
TCP only, so -rtsp_transport tcp is required.
STREAM_ID=7540cc47-4cc6-4953-a1bd-d71243ce872d STREAM_KEY=CuOMhkRbwbhPE6omA8P7vR4jXCnXSmgz INGEST="rtsps://publish:$STREAM_KEY@ingest.ollebo.com:443/$STREAM_ID"
Start with a test pattern to prove the path end to end — no camera needed:
ffmpeg -re -f lavfi -i testsrc2=size=1280x720:rate=30 \ -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp "$INGEST"
-g 60 sends a keyframe every 2s at 30fps. Viewers can only join on a
keyframe, so a long interval means a long wait before the picture appears.
3. Watch it
Open the HLS URL in VLC, ffplay, or Safari. The mission's
Missions row shows a
Live badge and a Watch link as soon as you start publishing.
ffplay "https://video.ollebo.com/$STREAM_ID/index.m3u8" # lower latency, sub-second, via WebRTC in a browser: open "https://video.ollebo.com/$STREAM_ID/whep"
401 while we finish session-based authorisation. Publishing works either
way — mark the mission public if you want to watch it today.
With Docker
Nothing to install but Docker. The test pattern again, as a one-liner:
docker run --rm -it linuxserver/ffmpeg \ -re -f lavfi -i testsrc2=size=1280x720:rate=30 \ -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp \ "rtsps://publish:YOUR_STREAM_KEY@ingest.ollebo.com:443/YOUR_STREAM_ID"
For something that stays up on a device, use compose — restart: unless-stopped
reconnects after a network drop, which is what you want on a moving vehicle:
services:
publisher:
image: linuxserver/ffmpeg:latest
restart: unless-stopped
devices:
- /dev/video0:/dev/video0 # the USB camera
command: >
-f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0
-c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60
-f rtsp -rtsp_transport tcp
rtsps://publish:YOUR_STREAM_KEY@ingest.ollebo.com:443/YOUR_STREAM_ID
docker compose up -d docker compose logs -f publisher
On your device
Raspberry Pi camera
The Pi encodes H.264 itself, so ffmpeg only has to copy it — very little CPU.
On Raspberry Pi OS Bookworm the command is rpicam-vid; older releases
call it libcamera-vid.
rpicam-vid -t 0 --inline --width 1280 --height 720 --framerate 30 --codec h264 -o - \
| ffmpeg -re -f h264 -i - -c:v copy \
-f rtsp -rtsp_transport tcp "$INGEST"
--inline repeats the headers on every keyframe. Without it a viewer who
joins late gets audio-less black, because the stream never re-describes itself.
USB webcam (Linux)
ffmpeg -f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0 \ -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp "$INGEST"
macOS camera
ffmpeg -f avfoundation -framerate 30 -i "0" \ -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp "$INGEST" # list your devices first: ffmpeg -f avfoundation -list_devices true -i ""
Re-stream an existing IP camera
Most survey and security cameras already speak RTSP. If they are already H.264,
-c copy forwards the feed without re-encoding.
ffmpeg -rtsp_transport tcp -i rtsp://user:pass@192.168.1.50:554/stream1 \ -an -c:v copy \ -f rtsp -rtsp_transport tcp "$INGEST"
A recorded file, on a loop
Handy for demos and for testing the viewer.
ffmpeg -re -stream_loop -1 -i flight.mp4 \ -c:v libx264 -preset veryfast -tune zerolatency -pix_fmt yuv420p -g 60 \ -f rtsp -rtsp_transport tcp "$INGEST"
Worth knowing
- The stream key is a password. It goes in the RTSP userinfo, never in the path. Anyone holding it can publish to your mission — treat it like an API token and register a fresh stream if it leaks.
- A mission can have several streams. The one provisioned with the mission stays put, but every registration — including each boot handshake — mints a new endpoint, so a device that reboots gets a new stream id. The Missions page always shows the most recent one.
-
Video must be H.264. Anything else has to be transcoded by ffmpeg
before it is sent, which is what
-c:v libx264does in the examples above. -
Everything is archived. Segments are stored as they arrive, and
archive.vodserves them back as a replay playlist once the flight ends. -
Latency. HLS runs about 2–5 seconds behind; WebRTC
(
/whep) is sub-second. Use WebRTC if someone is flying from the picture. -
Bandwidth. 720p30 over H.264 needs roughly 2–4 Mbit/s upstream.
On a mobile link, drop to
-video_size 854x480and-b:v 1Mbefore you drop frames.
Sending telemetry too?
Video and telemetry are independent — the same mission key drives both. See the API reference for events, or Run with Docker for the MAVLink proxy.