PyStreamRTC

Most simplest Python solution for WebRTC streaming of a video file. Capable of doing play, pause & seeking operations

Stars
2

PyStreamRTC

Welcome to PyStreamRTC, versatile media streaming solution leveraging the power of Python, GStreamer, and WebRTC.

Instructions

Install GStreamer

Debian/Ubuntu

sudo apt-get install -y gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav libnice10 libglib2.0-dev

Pip install these

pip install -r requirements.txt

Play your video

cd PyStreamRTC do python streamer.py --video /path/to/your/video.mp4

> Starting pipeline
======== Running on http://0.0.0.0:8080 ========
have fun!