Class unavclIPBroadcastClient
Unit
unaVC_socks
Declaration
type unavclIPBroadcastClient = class(unavclIPBroadcastPipe)
Description
Receives audio stream being broadcasted by server component over LAN.
Usage: set the port property to specify the port number to listen at for stream being broadcasted. Calling the open() method or setting the active property to true will initiate listening. As soon as broadcast packets will be received, this component can produce output stream to be played back. No data will be send back to server.
Example: refer to vcBroadcast demo for details.
Hierarchy
Overview
Methods
Properties
Description
Methods
|
function doOpen(): bool; override; |
|
|
function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override; |
|
|
procedure AfterConstruction(); override; |
|
|
procedure BeforeDestruction(); override; |
|
|
procedure bindSocket(); override; |
|
|
procedure doClose(); override; |
|
|
procedure doSetPort(const value: string); override; |
|
Properties
|
property isFormatProvider default true; |
Broadcast client is usually a format provider - so this property value was changed to be true by default.
|
|
property packetsLost: unsigned read f_packetsLost; |
Returns total number of packets being lost.
|
|
property packetsReceived: unsigned read f_packetsReceived; |
Returns number of received packets.
|
|
property remoteHost: TIPv4H read f_remoteHost; |
Remote host.
|
|
property remotePort: uint16 read f_remotePort; |
Remote port.
|
(c) 2012 Lake of Soft
Generated by PasDoc 0.12.1 on 2012-10-09