Description | Hierarchy | Fields | Methods | Properties |
type socketStreamer = class(unaSocks)
– socketStreamer –
constructor create(asAudioServer: bool); |
|
function clientCount(): int; |
|
function getStatistic(out receivedBytes, playedBackBytes: int64; out pcmFormat: string): bool; |
|
function isActive(): bool; |
|
function sendData(data: pointer; len: unsigned): unsigned; |
|
function start(const port: string; socketType: unsigned = IPPROTO_TCP; bufferSize: unsigned = 8192; deviceId: unsigned = WAVE_MAPPER): HRESULT; overload; |
|
function start(const address, port: string; socketType: unsigned = IPPROTO_TCP; bufferSize: unsigned = 8192): HRESULT; overload; |
|
function startIcyServer(const port: string; maxClients: unsigned = 3; dataAlign: unsigned = 8192; bitrate: int = 128; const special: string = ''): HRESULT; |
|
function stop(): HRESULT; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure gotServerData(data: pointer; len: unsigned); |
|
procedure sendIcyMetadata(const title, url: aString); |
|
procedure event(event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint); override; |
property emulErrorCode: int read getEmulErrorCode; |
|
property emulStatusCode: int read getEmulStatusCode; |
|
property sentBytes: int64 read f_streamer_sentBytes; |
|
property streamerSocketError: int read f_streamer_socketError; |
constructor create(asAudioServer: bool); |
|
function clientCount(): int; |
|
function getStatistic(out receivedBytes, playedBackBytes: int64; out pcmFormat: string): bool; |
|
function isActive(): bool; |
|
function sendData(data: pointer; len: unsigned): unsigned; |
|
function start(const port: string; socketType: unsigned = IPPROTO_TCP; bufferSize: unsigned = 8192; deviceId: unsigned = WAVE_MAPPER): HRESULT; overload; |
|
function start(const address, port: string; socketType: unsigned = IPPROTO_TCP; bufferSize: unsigned = 8192): HRESULT; overload; |
|
function startIcyServer(const port: string; maxClients: unsigned = 3; dataAlign: unsigned = 8192; bitrate: int = 128; const special: string = ''): HRESULT; |
|
function stop(): HRESULT; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure gotServerData(data: pointer; len: unsigned); |
|
procedure sendIcyMetadata(const title, url: aString); |
|
procedure event(event: unaSocketEvent; id, connId: tConID; data: pointer; size: uint); override; |
|
property emulErrorCode: int read getEmulErrorCode; |
|
property emulStatusCode: int read getEmulStatusCode; |
|
property sentBytes: int64 read f_streamer_sentBytes; |
|
property streamerSocketError: int read f_streamer_socketError; |
|
(c) 2012 Lake of Soft