![]()
|
shout_send_datadeclared in <shout/shout.h> The shout_send_data function sends a block of data to the icecast server. It parses out MP3 frames in order to get timing information, and make sure that it's always sending a valid bitstream. Any data that is in the block that is not valid MP3 data is skipped and ignored. Even though, shout_send_data tries it's best to send only valid data, do not rely on it to do your work for you. Please strip ID3 tags and other non-MP3 data from the stream before sending it to this function.
Parameters
Return ValuesReturns true (1) on success or false (0) on failure. If the function fails, self->error will contain the error code.
|