RaspberryPiカメラストリーミングサーバ
Python JavaScript Shell HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
templates
README.md
camera_streaming.py
html_server.py
server.py
setup.sh
streaming_server.py

README.md

Raspberry Pi Camera Streaming Server

##Setup

./setup.sh

##Run

# height width frame_rate html_port websocket_port
python3 server.py 640 480 30 6000 7000

##URL Server address 127.0.0.1
HTML server port 6000
WebSocket server port 7000

address
http://127.0.0.1:6000/ html
http://127.0.0.1:6000/streaming.js client script
ws://127.0.0.1:7000/ streaming server

##Receive Sample

<html>
  <head>
    <img id="cameraImg" src="" width="" height="">
    <script type="text/javascript" src='127.0.0.1:6000/streaming.js'></script>
  </head>
</html>