SAP server announcing VLC streams
In previous guide about VLC I showed how to stream files to LAN. It is quite a hard task to inform everybody about new streams or changes of existing. This is the reason of existing SAP (session announce protocol) informing about unicast, multicast and broadcast streams in network. At first you have to install it by issuing:
apt-get install minisapserver
After succesful installation edit it`s configuration file.
Edit it to something like mine. Each line is sefl-explanationary.
# Global miniSAPserver options
# Number of seconds between announces. 5 is default. Internet announces better use 30.
# The network interface on which to stream.
name=Iron Maiden - The Number of the Beast
In bold black is defined stream from previous guide how to stream with VLC, by command:
sudo -u vlc cvlc "IronMaiden-TheNumberOfTheBeast.ogg" --sout udp://184.108.40.206:1234 --loop
When you add all your streams close configuration file (CTRL+X...) and save changes (...press "y" and Enter) and restart minisap server with this command:
Now announces are send to all devices using multicast address 220.127.116.11.