this sample usage Pion WebRTC https://github.com/pions/webrtc stream RTSP camera to browser if you need to place the camera on the site you can use https://github.com/deepch/RTSPtoWSMP4f
- go get github.com/deepch/RTSPtoWebRTC
- cd RTSPtoWebRTC
- you can edit url := "rtsp://admin:[email protected]:1554/mpeg4cif" to any you stream
- go run *.go
- open browser http://127.0.0.1:8080