python video streaming server
- test env: ubuntu18.04
- python3
- opencv3
- set listening host and port in server.py
- set server host and port in streamer_client.py, streamer_client_raspi.py, receiver_client.py
- set resolution, fps, and device number in streamer_client.py if you use webcam + opencv.
- set resolution in streamer_client_raspi.py if you use raspberrypi + picamera module.
# start websocket server
python server.py
# start streamer client
# if use opencv for capturing camera
python streamer_client.py --name my_channel
# if use picamera for capturing camera
python streamer_client_raspi.py --name my_channel
# start receiver client
# env that can open GUI server
python receiver_client.py --name my_channel
# cui env (just for debug)
python receiver_client.py --name my_channel --only-cui
- set HOST and PORT in command line args
- appropriate termination
- selective connection between streamer and receiver
- seperate streaming channels when a receiver receives videos from multiple streamers
This software is released under the MIT License, see LICENSE.txt.