Skip to content

RTSP Stream to WebBrowser HLS over HTTP based TS segments

License

Notifications You must be signed in to change notification settings

deepch/RTSPtoHLS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTSPtoHLS

RTSP Stream to WebBrowser HLS over HTTP based TS segments

full native! not use ffmpeg or gstreamer

RTSPtoHLS image

Download Source

  1. Download source
    $ git clone https://github.com/deepch/RTSPtoHLS  
  2. CD to Directory
     $ cd RTSPtoHLS/
  3. Test Run
     $ GO111MODULE=on go run *.go
  4. Open Browser
    open web browser http://127.0.0.1:8083 work chrome, safari, firefox

Configuration

Edit file config.json

format:

{
  "server": {
    "http_port": ":8083"
  },
  "streams": {
   "H264_AAC": {
      "url": "rtsp://171.25.232.20/d7b92541b4914c8e98104cba907864f8"
    }
  }
}

Limitations

Video Codecs Supported: H264 all profiles

Audio Codecs Supported: AAC

Test

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

Team

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

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

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. 🍵

About

RTSP Stream to WebBrowser HLS over HTTP based TS segments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published