Skip to content

Simple RTSP Video Server Implementation in Rust

License

Notifications You must be signed in to change notification settings

sean-halpin/rust_rtsp_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Rtsp Server

A simple RTSP server implementation using rust to parse & respond to requests.
Then GStreamer to serve the video for the negotiated session.

Sample server output & session streamed using ffplay

Alt text

Docker

Build

docker build -t rust_rtsp .

Run built image

docker run --rm -d --network host rust_rtsp                                         

Build & run in Docker while developing on local host

docker build -t rust_rtsp .
docker run -it --rm -d -v $(pwd):/src --network host rust_rtsp /bin/bash
cd /src
cargo build
RUST_BACKTRACE=1 ./target/debug/rust-rtsp-server