FFMPEG Command to Convert RTSP Stream to WebRTC Video Stream in Command Line

 

 

RTSPtoWebRTC

RTSP Stream to WebBrowser over WebRTC based on Pion (full native! not using ffmpeg or gstreamer).

Note: RTSPtoWeb is an improved service that provides the same functionality, an improved API, and supports even more protocols. RTSPtoWeb is recommended over using this service.

if you need RTSPtoWSMP4f use https://github.com/deepch/RTSPtoWSMP4f

RTSPtoWebRTC image

Download Source

  1. Download source
  2. CD to Directory
  3. Test Run
  4. Open Browser

Configuration

Edit file config.json

format:

Livestreams

Use option "on_demand": false otherwise you will get choppy jerky streams and performance issues when multiple clients connect.

Limitations

Video Codecs Supported: H264

Audio Codecs Supported: pcm alaw and pcm mulaw

Team

Deepch – https://github.com/deepch streaming developer

Dmitry – https://github.com/vdalex25 web developer

Now test work on (chrome, safari, firefox) no MAC OS

Other Example

Examples of working with video on golang

 

 

https://github.com/deepch/RTSPtoWebRTC

 

Leave a Reply