Update Audio Streaming

master
Elliott Liggett 2020-09-16 19:03:37 +00:00
rodzic 7d23b52f7b
commit bfeed340f8
1 zmienionych plików z 3 dodań i 1 usunięć

@ -36,7 +36,7 @@ From this output, our 7300 is going to be audio device 1, subdevice 0, specified
**Script for ffmpeg**
Now create a shell script to run ffmpeg. This is needed because the command is rather long and you might want a simple way to edit the command.
Now create a shell script to run ffmpeg. This is needed because the command is rather long and you might want a simple way to edit the command. My script is called `ffmpeg_script.sh` and I stored it in `~root/bin`.
```
#!/bin/bash
@ -48,6 +48,8 @@ Replace letmein with your actual password (if you forgot it, the password is sto
**Now try it out!**
First run the script we made for ffmpeg as root. `sudo ~root/bin/ffmpeg_script.sh` will do. If there aren't any errors, proceed!
Next, open a streaming client on your laptop, such as VLC, iTunes, or even a web browser. In VLC, choose File, then Open URL... and paste this in: http://192.168.1.104:8000/icom. You can also specify the stream like this: http://192.168.1.104:8000/icom.m3u (that's a playlist file). You might also just want to go to the icecast page with your web browser and poke around (there isn't much there) at http://192.168.1.104:8000/. Use the password you specified in setup.
In VLC, you can adjust the latency, and you can safely run it quite low in my experience. The latency can be adjusted by using the advanced preferences, and going to Stream Output, and then adjusting the "Stream output muxer caching" down to 50ms.