hi, i am using webrtc provided by milestone xprotect to host the stream on my own web client. can i check that if it is creating a p2p connection between my web client to the milestone vms, or it is creating p2p connections between my web client and the camera?
If i wanna put my web client on cloud how is the the architecture gonna look like?
Hey Deyi
What is happening is that WebRTC establishes a P2P connection between your webclient and the VMS (the API Gateway to be specific). The camera only communicates with the VMS, it has no direct connection to your client.
If you move your web client to the cloud you could end up having issues. The API Gateway would have to be accessible from the cloud in order for your connection to be established. Depending on the cloud setup, you could also have problems with firewall configurations. If connection cannot be setup, it would mean that the API Gateway or the Web client is behind a symmetric NAT. In that case you would have to setup af TURN server (supported with latest release).
Let me know if you need me to go into more details or if this is enough to cover your question.