gortmp

command module
v0.0.0-...-be24c14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2018 License: GPL-2.0 Imports: 2 Imported by: 0

README

gortmp

Client(IP : 192.168.2.99)

  1. ffmpeg : push the desktop to the server.

    ffmpeg.exe -report -f dshow -i audio="virtual-audio-capturer" -f dshow -i video="screen-capture-recorder" -vcodec libx264 -acodec aac -s 1920*1080 -r 25 -g 25 -pix_fmt yuv420p -preset veryfast -tune zerolatency -f flv rtmp://192.168.2.100/myapp/mystream

Server(IP : 192.168.2.100)

  1. Run Server(need to install "golang" environment)。

    go run main.go

Pull Live Stream(IP : 192.168.2.99)

  1. ffplay.

    ffplay.exe -i rtmp://192.168.2.100/myapp/mystream -fflags nobuffer

Live Delay

  1. LAN delay in about 0.5 seconds.

  2. Delay picture. image

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL