/rtsp2webrtc

Primary LanguageJavaScript

RTSPtoWebRTC

this sample usage Pion WebRTC https://github.com/wenwu_bainjie/webrtc stream RTSP camera to browser

  1. go get github.com/deepch/RTSPtoWebRTC
  2. cd RTSPtoWebRTC
  3. you can edit url := "rtsp://admin:123456@171.25.232.42:1554/mpeg4cif" to any you stream
  4. go run *.go
  5. open browser http://127.0.0.1:8080