shithub: rtmp

ref: 55fd4285c635d6e55c6fa440cd523c264be5bf4a
dir: /README.md/

View raw version
# rtmp

RTMP streaming for Plan 9.

## Usage (until I write a manpage)

	video/hj264 -f 10 /dev/screen | video/rtmp rtmp://....

For how to use `rtmp` with Twitch, refer to the documentation they
provide.  All you need is the correct RTMP URL.  Preferably of a
server that is close to you, for lower latency, see [the list of
ingest endpoints](https://stream.twitch.tv/ingests).

To stream with audio from the microphone, make sure it works, you can
test it with [pitch](https://git.sr.ht/~ft/pitch).  Make sure
[audio/aacenc](https://git.sr.ht/~ft/aacenc) is installed.  Then run
this (change according to your preferences):

	video/hj264 -f 10 /dev/screen | video/rtmp -a <{audio/aacenc </dev/audio} rtmp://....

Audio loopback isn't ready yet.