Sending webRTC video stream to server with django channels

后端 未结 2 668
广开言路
广开言路 2021-02-02 04:28

I am trying to create a face detection web application written in django. The app works this way.

  1. The user navigates to the url
  2. The camera starts on the c
2条回答
  •  盖世英雄少女心
    2021-02-02 04:57

    I don't think this is a good approach for streaming a video via server. Why even you want to send video frames to server when webrtc directly offers p2p connection.All you need a socket library to manage the user and connect them.You can pass random generated roo_id to django channel for creating rooms.I will suggest you if you are good at nodejs go for socket.io library as very less resources and documentation available on django channel with webrtc.

提交回复
热议问题