Home Units Hierarchy Routines All identifiers

Class unavclIPBroadcastClient

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Protected function doOpen(): bool; override;
Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure bindSocket(); override;
Protected procedure doClose(); override;
Protected procedure doSetPort(const value: string); override;

Properties

Published property isFormatProvider default true;
Public property packetsLost: unsigned read f_packetsLost;
Public property packetsReceived: unsigned read f_packetsReceived;
Public property remoteHost: TIPv4H read f_remoteHost;
Public property remotePort: uint16 read f_remotePort;

Description

Methods

Protected function doOpen(): bool; override;
 
Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure bindSocket(); override;
 
Protected procedure doClose(); override;
 
Protected procedure doSetPort(const value: string); override;
 

Properties

Published property isFormatProvider default true;

Broadcast client is usually a format provider - so this property value was changed to be true by default.

Public property packetsLost: unsigned read f_packetsLost;

Returns total number of packets being lost.

Public property packetsReceived: unsigned read f_packetsReceived;

Returns number of received packets.

Public property remoteHost: TIPv4H read f_remoteHost;

Remote host.

Public property remotePort: uint16 read f_remotePort;

Remote port.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09