MCPcopy Create free account
hub / github.com/deepch/RTSPtoWebRTC

github.com/deepch/RTSPtoWebRTC @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
383 symbols 863 edges 11 files 65 documented · 17% 26 cross-repo links updated 7d ago★ 1,78684 open issues

Browse by type

Functions 376 Types & classes 7
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 bash $ git clone https://github.com/deepch/RTSPtoWebRTC
  2. CD to Directory bash $ cd RTSPtoWebRTC/
  3. Test Run bash $ GO111MODULE=on go run *.go
  4. Open Browser bash open web browser http://127.0.0.1:8083 work chrome, safari, firefox

Configuration

Edit file config.json

format:

{
  "server": {
    "http_port": ":8083"
  },
  "streams": {
    "demo1": {
      "on_demand" : false,
      "url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
    },
    "demo2": {
      "on_demand" : true,
      "url": "rtsp://admin:admin123@10.128.18.224/mpeg4"
    },
    "demo3": {
      "on_demand" : false,
      "url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
    }
  }
}

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

paypal.me/AndreySemochkin - You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 361
Method 15
Struct 7

Languages

TypeScript91%
Go9%

Modules by API surface

web/static/js/bootstrap.bundle.js96 symbols
web/static/js/jquery-3.4.1.min.js83 symbols
web/static/js/adapter-latest.js81 symbols
web/static/js/bootstrap.bundle.min.js45 symbols
web/static/js/bootstrap.js29 symbols
config.go21 symbols
web/static/js/bootstrap.min.js10 symbols
http.go10 symbols
web/static/js/app.js4 symbols
stream.go3 symbols
main.go1 symbols

Dependencies from manifests, versioned

github.com/chenzhuoyu/base64xv0.0.0-2022111506244 · 1×
github.com/deepch/vdkv0.0.20 · 1×
github.com/gin-contrib/ssev0.1.0 · 1×
github.com/json-iterator/gov1.1.12 · 1×

For agents

$ claude mcp add RTSPtoWebRTC \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page