this sample usage Pion WebRTC https://github.com/wenwu_bainjie/webrtc stream RTSP camera to browser
- 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