server_relay_demo

command
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: BSL-1.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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