Previous Topic Index Next Topic
[Structure]

FSOUND_STREAM_NET_INFO

Structure providing information on an open internet stream.

Members

char * hostname /* Host that this stream is being served from */
char * remotefile /* Filename of this stream on the remote host */
int protocol /* FSOUND_STREAM_NET_PROTOCOL - What protocol this stream is using */
int format /* FSOUND_STREAM_NET_FORMAT - What file format this stream is using */
int status /* FSOUND_STREAM_NET_STATUS - Status of this stream - connecting, buffering etc. */
int buffersize /* Size of the stream read buffer in bytes */
int bufferused /* How many bytes of data currently in the stream read buffer */
unsigned int sizebytes /* (HTTP Only) Size of the stream */
unsigned int bytesread /* How many compressed bytes have been read from the stream */
char ** comments /* Pointer to an array of comment (metadata) strings */
int numcomments /* How many comment (metadata) strings are in the array pointed to by 'comments' */
int metadatanum /* Incremented each time a new batch of metadata is read */
char * notice1 /* (SHOUTcast only) General notice sent by the server */
char * notice2 /* (SHOUTcast only) General notice sent by the server */
char * name /* The name of the stream */
char * genre /* (SHOUTcast only) The genre of the stream */
char * description /* (Icecast2 only) A description of the stream */
char * url /* A URL associated with this stream */
char * irc /* An IRC channel associated with this stream */
char * icq /* An ICQ number associated with this stream */
char * aim /* An AIM number associated with this stream */
int pub /* 1 = this stream is public, 0 = this stream is not public */
int metaint /* (SHOUTcast only) The number of compressed bytes between metadata chunks */
char * bitrate /* A string describing the bitrate of the stream i.e. "128" or "Quality 0" */
int currentbitrate /* The current (i.e. instantaneous) bitrate of the stream i.e. 128, 192, 187 etc. */

See Also

FSOUND_STREAM_NET_FORMAT , FSOUND_Stream_Net_GetInfo , FSOUND_STREAM_NET_PROTOCOL , FSOUND_STREAM_NET_STATUS

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Jul 31 17:10:14 2003 by SourceDoc v0.10, the automated source code documenter.