chenwei686 / RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RTSPtoWSMP4f

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments

full native! not use ffmpeg or gstreamer

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

RTSPtoWSMP4f image

Team

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

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

Installation

go get github.com/deepch/RTSPtoWSMP4f
cd src/github.com/deepch/RTSPtoWSMP4f
go run *.go
open web browser http://127.0.0.1:8083

Configuration

Edit file config.json

format:

{
  "server": {
    "http_port": ":8083"
  },
  "streams": {
    "demo1": {
      "url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
    },
    "demo2": {
      "url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
    },
    "demo3": {
      "url": "rtsp://170.93.143.139/rtplive/470011e600ef003a004ee33696235daa"
    }
  }
}

Limitations

Video Codecs Supported: H264 all profiles

Audio Codecs Supported: AAC mono

Test

CPU usage 0.2% one core cpu intel core i7 / stream

About

RTSP Stream to WebBrowser MSE over WebSocket based MP4f segments


Languages

Language:JavaScript 97.6%Language:Go 2.4%