A simple Dockerized connector for robotstreamer.com that streams video (from a device or static image) and connects to the robotstreamer.com API.
- Set environment variables (see below)
- Build and run the Docker container
VIDEO_DEVICE: Path to video device (e.g.,/dev/video0).STREAM_KEY: Your robotstreamer.com stream keyROBOT_ID: Robot ID for APIAPI_URL: (Optional) robotstreamer.com API endpointFFMPEG_OPTS: (Optional) Extra ffmpeg options
docker build -t rs-connector . --load
docker run --rm \
-e VIDEO_DEVICE=/dev/video0 \
-e STREAM_KEY=your_stream_key \
-e ROBOT_ID=your_robot_id \
rs-connectorrs_connector/streamer.py: ffmpeg wrapper for streamingrs_connector/api_client.py: API client for robotstreamer.comrs_connector/main.py: Entrypointtest_image.jpg: Optional static image
MIT License