Skip to content

jenyipm/RTSPtoWSMP4f

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • Go 2.4%