i need to use the webRTC "capture of medias" part, and send the video/audio stream to a server. First I thought about using websockets to send that stream but it looked complicated, i only found some examples that drew the video into a canvas and sent the generated image thanks to websockets; heavy. So i think the best solution is to use the RTCPeerConnection api to create a one-to-one peer connection and then use the rest of this API to transfer the stream. Is that possible and not stupide? If it's not i would like to know if it's possible to create a simple ICE server to connect only two peers with a known IP (or is there a way to avoid using these ICE servers?)
Thanks for your answers! :)