VCDoc
Class Tree
Name
unaIPStreaming
.TunaIPReceiver
Class Hierarchy
/
unaIPStreamer
/
unavclInOutPipe
/ TComponent / TPersistent / TObject
Description
Basic IP receiving class.
Members
Fields
Field
Description
Methods
Method
Description
unavclInOutPipe
.
addConsumer
Adds new consumer for the pipe.
unavclInOutPipe
.
addProvider
Adds new provider for the pipe.
unavclInOutPipe
.
AfterConstruction
Creates list of consumers and providers, internal critical section and data proxy thread.
unavclInOutPipe
.
applyFormat
Applies new format of the data stream.
unavclInOutPipe
.
BeforeDestruction
Destroys the pipe.
unavclInOutPipe
.
checkIfAutoActivate
Checks if autoActivate property is True and activates/deactivates consumers if yes.
unavclInOutPipe
.
checkIfFormatProvider
Checks if component is format provider and applies format to consumer if it is (and format was not applied before).
unavclInOutPipe
.
clearFormatCRC
Forces component to assign its format to consumers (if isFormatProvider is True).
unavclInOutPipe
.
close
Closes the pipe.
unavclInOutPipe
.
doAddConsumer
Adds new consumer for the pipe.
unavclInOutPipe
.
doAddProvider
Assigns new provider for the pipe.
unavclInOutPipe
.
doBeforeAfterFC
Calls f_beforeFormatChange or f_afterFormatChange if assigned.
unavclInOutPipe
.
doClose
Closes the pipe.
unavclInOutPipe
.
doGetPosition
Implements positions retrieval routine.
unavclInOutPipe
.
doOpen
Opens the pipe.
unavclInOutPipe
.
doRead
Reads data from the pipe.
unavclInOutPipe
.
doRemoveConsumer
Removes consumer from the pipe.
unavclInOutPipe
.
doRemoveProvider
Removes one of pipe's providers.
unavclInOutPipe
.
doSetActive
Sets active state of the pipe.
unavclInOutPipe
.
doSetEnableDP
Sets enableDataProcessing value.
unavclInOutPipe
.
doWrite
Writes data into the pipe.
unavclInOutPipe
.
enter
Enters the internal critical section.
unavclInOutPipe
.
getAvailableDataLen
Returns data size available in the pipe (bytes).
unavclInOutPipe
.
getConsumerIndex
Returns index of consumer.
unavclInOutPipe
.
getFormatExchangeData
Fills the format of the data stream.
unavclInOutPipe
.
getPosition
Returns position in stream.
unavclInOutPipe
.
getProviderIndex
Returns index of provider.
unavclInOutPipe
.
incInOutBytes
Increments (or decrements in/outBytes property by delta.
unavclInOutPipe
.
isActive
Returns component's active state.
unavclInOutPipe
.
leaveRO
Leaves the internal critical section.
unavclInOutPipe
.
leaveWO
unavclInOutPipe
.
Loaded
Usually creates an internal device of the pipe, and activates the component if needed.
unavclInOutPipe
.
Notification
IDE/VCL notification for components removal/insertion.
unavclInOutPipe
.
notifyConsumers
Notify all consumers there is no more such provider (self).
unavclInOutPipe
.
notifyProviders
Notify all providers there is new consumer (self), or consumer is removed (value = nil).
unavclInOutPipe
.
onNewData
Processes new data available from the pipe.
unavclInOutPipe
.
open
Opens the pipe.
unavclInOutPipe
.
READ
Reads data as a AnsiString.
unavclInOutPipe
.
READ
If you did not specify the consumer for the pipe, you must call
unavclInOutPipe
.
removeConsumer
Removes consumer from the pipe.
unavclInOutPipe
.
removeProvider
Removes one of pipe's providers.
unavclInOutPipe
.
WRITE
Writes data into the pipe.
unavclInOutPipe
.
WRITE
Writes data into the pipe.
unaIPStreamer
.
AfterConstruction
Creates list of consumers and providers, internal critical section and data proxy thread.
unaIPStreamer
.
BeforeDestruction
Destroys the pipe.
unaIPStreamer
.
doClose
Closes the pipe.
unaIPStreamer
.
doGetRTCP
unaIPStreamer
.
doOpen
Opens the pipe.
unaIPStreamer
.
doRead
Reads data from the pipe.
unaIPStreamer
.
getAvailableDataLen
Returns data size available in the pipe (bytes).
unaIPStreamer
.
getFormatExchangeData
Fills the format of the data stream.
unaIPStreamer
.
isActive
Returns component's active state.
unaIPStreamer
.
needHoles
Makes holes in NAT.
unaIPStreamer
.
onFormatChange
unaIPStreamer
.
onIdle
Got idle, do something useful.
unaIPStreamer
.
onRTCP
Got new RTCP packet.
unaIPStreamer
.
setupRTCP
unaIPStreamer
.
setURI
Parses URI and assigns required properties.
AfterConstruction
Creates list of consumers and providers, internal critical section and data proxy thread.
BeforeDestruction
Destroys the pipe.
doClose
Closes the pipe.
doGetRTCP
doOpen
Opens the pipe.
doWrite
Writes data into the pipe.
isActive
Returns component's active state.
needHoles
Sends RTCP and RTP packets to remote side to make holes in NAT
onFormatChange
onNewText
onRTPHdr
setupRTCP
Properties
Property
Description
unavclInOutPipe
.
active
Returns or sets the active state of the pipe.
unavclInOutPipe
.
autoActivate
When True tells the component it must activate consumer (if any)
unavclInOutPipe
.
availableDataLenIn
Returns data written into but not yet processed by the pipe.
unavclInOutPipe
.
availableDataLenOut
Returns data size available to read from the pipe.
unavclInOutPipe
.
closing
True if component is being closed.
unavclInOutPipe
.
consumer
Specifies the consumer of component.
unavclInOutPipe
.
consumerCount
Number of consumers.
unavclInOutPipe
.
consumers
Returns consumer.
unavclInOutPipe
.
dumpInput
Specifies the file name to store the stream into.
unavclInOutPipe
.
dumpOutput
Specifies the file name to store the stream into.
unavclInOutPipe
.
enableDataProcessing
Specifies whether the component would perform any data processing.
unavclInOutPipe
.
enableDataProxy
Data will be placed to proxy thread before processing.
unavclInOutPipe
.
ignoreProviderOptions
Specifies which proviers options will be ignored.
unavclInOutPipe
.
inBytes
Number of bytes received by the pipe.
unavclInOutPipe
.
isFormatProvider
When True the component will assign stream format to the consumer (if any).
unavclInOutPipe
.
onDataAvailable
This event is fired every time component has produced or received new chunk of data.
unavclInOutPipe
.
onDataDSP
This event is fired every time component has produced or received new
unavclInOutPipe
.
onFormatChangeAfter
This event is fired after new format was applied to a pipe.
unavclInOutPipe
.
onFormatChangeBefore
This event is fired before new format is about to be applied to a pipe.
unavclInOutPipe
.
opt
Internal.
unavclInOutPipe
.
outBytes
Number of bytes produced by the pipe.
unavclInOutPipe
.
position
Current position in stream (if applicable).
unavclInOutPipe
.
providerCount
Number of providers.
unavclInOutPipe
.
providerOneAndOnly
Returns first provider of a component (if any).
unavclInOutPipe
.
providers
Returns provider.
unavclInOutPipe
.
_consumers
List of consumers.
unavclInOutPipe
.
_providers
List of providers.
unaIPStreamer
.
bind2ip
Bind internal socket to this IP.
unaIPStreamer
.
bind2port
Bind internal socket to this locat port.
unaIPStreamer
.
customPayloadAware
When true the component will analyze custom payload (such as c_ips_payload_speexNB and other) and initialize accordingly.
unaIPStreamer
.
descriptionError
Stream error message (mostly for debugging).
unaIPStreamer
.
descriptionInfo
Stream description (usually received from remote side).
unaIPStreamer
.
doEncode
Try to decode/encode supported payloads.
unaIPStreamer
.
enableRTCP
When true the component will use RTCP when applicable (for RTP streaming).
unaIPStreamer
.
exLib
External library name.
unaIPStreamer
.
frameSize
Internal, do not use.
unaIPStreamer
.
inBandwidth
Input bandwidth.
unaIPStreamer
.
mapping
RTP mapping used for dynamic payload.
unaIPStreamer
.
outBandwidth
Output bandwidth.
unaIPStreamer
.
protocol
Protocol to be used by streamer. See c_ips_protocol_XXX for valid values.
unaIPStreamer
.
rtcp
RTCP stack. Could be nil.
unaIPStreamer
.
rtcpTimeoutReports
RTCP stack timeout. Set to 0 to disable. Default is 6.
unaIPStreamer
.
SDP
Specifies additional parameters of audio stream.
unaIPStreamer
.
SDPignorePort
Specifies whether port number from SDP will be ignored.
unaIPStreamer
.
socketType
Socket type to be used by streamer. See c_ips_socket_XXX for valid values.
unaIPStreamer
.
swapRAWbytes
Swap bytes in 16bit words after receiving them from network before passing to consumer.
unaIPStreamer
.
TTL
TTL for multicast.
unaIPStreamer
.
URI
Parses URI and assigns required properties.
unaIPStreamer
.
uriHost
Host name provided in URI.
unaIPStreamer
.
uriPort
Port number provided in URI.
unaIPStreamer
.
_SSRC
SSRC
MPEGTSaware
If True (default) - checks if payload is encapsulated in MPEG-TS stream and decode audio program only.
onRAWDataWrite
Fired when new RTP packet is received.
onRTPHeader
Fired when new RTP packet is received.
onText
Fired when new text is received.
rec
Low-level RTP receiver.
URI
Possible values:
Events
Event
Description
(c) 2001-2011
Lake of Soft
Created with
DelphiCodeToDoc
.