Sends encoded sample data to the ICEcast server (e.g. the data as received in an own ENCODEPROC).
Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
Parameters
- buffer
- Type: SystemIntPtr
The pointer to the encoded buffer data (as given by to ENCODEPROC callback). - length
- Type: SystemInt32
The length of the buffer data (as given by to ENCODEPROC callback).
Return Value
Type: Int32The number of bytes send to the server (or -1, if no bytes could be send (see LastError or LastErrorMessage for details).
Implements
IStreamingServerSendData(IntPtr, Int32)Remarks
If an error occures the connection will be closed automatically (using Disconnect).
See Also