I think the tricky part with IP cameras is getting the video into a browser without adding too much buffering along the way. Most cameras already provide RTSP, so having a lightweight gateway handle the conversion to WebRTC makes sense, especially if you want to keep the camera setup unchanged...