server_relay_demo

command
v0.0.0-...-6ff1c39 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: BSL-1.0 Imports: 12 Imported by: 0

README

Server relay example

A minimum example to relay RTMP streams on local. Streams will be published and can be subscribed per publish name.

server console

make
./server_relay_demo

publisher console

curl -L https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_1MB.mp4 -o movie.mp4
ffmpeg -re -stream_loop -1 -i movie.mp4 -acodec copy -vcodec copy -f flv rtmp://localhost/appname/stream

subscriber console

ffplay rtmp://localhost/appname/stream

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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