Skip to content

emperinter/videotest

Repository files navigation

show_send_photo

English | 中文

Description

Django channels camera live video transmission

Usage

SetUp Enviorments

Just for reference, here is the list of enviorments that I used to build this project:

pip install -r requirements.txt

SetUp Redis

docker pull redis
docker run -d -p 6379:6379 --name redis redis

SetUp Nginx

  • 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

SetUp Daphne

daphne -b 0.0.0.0 -p 8001 videotest.asgi:application

SetUp Django

  • You May change the running port in send_video.py

  • run it

sh start.sh

Test

  • run test case
python send_video.py
  • watch the video at
http://127.0.0.1:81/video/wms/

Issues need to be fixed

  • It can not be used after sending the video for a while.

About

Django channels camera live video transmission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published