Websocket is not suitable for this type of applications. you can use technologies like WebRTC for this this purpose. take a look at these technology and frameworks to see which one fit your needs.
- webRTC: for p2p connection
- kurento: webRTC media server
- hls and live streaming technologies
webRTC is a technology developed by google for real-time P2P communication. You can use webRTC to connect two or more end user together and send Data/Audio/Video. Read following resources for more information.
webRTC
React Native Implementation
But its only offer P2P connection for you. If you want to store/modify/broadcast your streams you must use something like Kurento media server.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…