I want to send a mediaStream
created from getUserMedia
up to a server.
What is best to use, WebRTC or WebSockets?
My gut tells me that WebRTC is specifically made for video and audio data, so this is the one to go for - but everything I read about WebRTC makes it seem like its only for peer to peer connections.
I'm going to have to learn everything about WebRTC or WebSockets so I can get my mediaStreams on the webserver - I just want to make sure I am not wasting my time learning about the wrong one.
Many thanks.
From what I have read online HERE I would recommend WebRTC for sending your data to the server :)