IGModAudioChannelEncoder:CastInit
boolean, string IGModAudioChannelEncoder:CastInit( string server, string password, string content, string name = nil, string url = nil, string genre = nil, string desc = nil, string headers = nil, number bitrate = 0, number flags = 0 )
Description
Initializes sending the encoder's output to a Shoutcast or Icecast server.
See https://www.un4seen.com/doc/#bassenc/BASS_Encode_CastInit.html
This function requires the BASSENC plugin to work at all!
You can find all the plugins at https://www.un4seen.com/ drop them into the bin/ folder besides libbass.so
Arguments
1string server
The server to send the data to, in the form address:port/mountpoint (Icecast) or address:port (Shoutcast)
8string headers = nil
Additional HTTP headers to send to the server, each one terminated with a carriage return and line feed