ref: c5cb931f107d750192ca2c0a2b9d270acec68905
parent: b5c87f9d2711099c002406442c4839acd11f01a6
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Fri Aug 6 08:03:27 EDT 2021
readme: add audio example
--- a/README.md
+++ b/README.md
@@ -10,3 +10,10 @@
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://....