Django channels camera live video transmission
Just for reference, here is the list of enviorments that I used to build this project:
pip install -r requirements.txt
docker pull redis
docker run -d -p 6379:6379 --name redis redis
- install
yum install nginx -y
- nginx config
you can see it here:https://github.com/emperinter/videotest/blob/master/nginx.conf
- restart nginx
service nginx reload
service nginx restart
daphne -b 0.0.0.0 -p 8001 videotest.asgi:application
-
You May change the running port in
send_video.py
-
run it
sh start.sh
- run test case
python send_video.py
- watch the video at
http://127.0.0.1:81/video/wms/
- It can not be used after sending the video for a while.