Skip to content

Onixaz/picamera-h264-web-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picamera h264 Web Streaming

Demo of h264 live streaming from Raspberry Pi using Python and Broadway.js.

Broadway.js is a JavaScript h264 decoder which can decode raw h264 produced by PiCamera. This allows 720p real time video streaming to a web browser even from Raspberry Pi Zero!

Demo usage

  1. Clone this repository
git clone https://github.com/Onixaz/picamera-h264-web-streaming.git
cd picamera-h264-web-streaming
  1. Create Python3 virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies
pip install picamera ws4py
  1. Launch the server
python server.py
  1. Navigate to http://your-raspberrypi-ip:8082 on your PC/smartphone and the stream should appear.

Tested with Chrome and Firefox on Windows 10 and Chrome for Android (Nokia 6.1).

Based on

About

Demo of h264 web streaming from Raspberry Pi using Python server and broadway.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •