简体   繁体   中英

Streaming audio/video through Node.js and Socket.io

Using Node.js and Socket.io, I would like to stream a continuous audio/video feed from the client, via the server and to the other clients, where the server is the mediator.

A code example with an explanation would be great. It should demonstrate:

  1. How to capture audio/video on the client side
  2. How to stream that data to the server
  3. How the server should deal with that data, and forward it to other clients
  4. How those clients would be able to play/display that data

Thank you!

You can use WEB RTC for your purposes. But browsers support isnt very good.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM