Skip to content

deepch/DVRIPtoWebRTC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DVRIPtoWebRTC

###WORK in progress!! not full work

DVRIP Stream to WebBrowser over WebRTC based on Pion

full native! not use ffmpeg or gstreamer

DVRIPtoWebRTC image

Download Source

  1. Download source
    $ git clone https://github.com/deepch/DVRIPtoWebRTC  
  2. CD to Directory
     $ cd DVRIPtoWebRTC/
  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",
    "ice_servers": ["stun:stun.l.google.com:19302"],
    "ice_username": "",
    "ice_credential": ""
  },
  "streams": {
    "H264_AAC": {
      "on_demand": false,
      "disable_audio": true,
      "url": "dvrip://95.72.95.9/Main"
    }
  }
}

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published