public class RTPConnectorTCPOutputStream extends RTPConnectorOutputStream
PACKET_QUEUE_CAPACITY, POOL_CAPACITY, targets| Constructor and Description |
|---|
RTPConnectorTCPOutputStream(Socket socket)
Initializes a new RTPConnectorTCPOutputStream.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doLogPacket(RawPacket packet,
InetSocketAddress target)
Log the packet.
|
protected boolean |
isSocketValid()
Returns whether or not this RTPConnectorOutputStream has a valid
socket.
|
protected void |
sendToTarget(RawPacket packet,
InetSocketAddress target)
Sends a specific RawPacket through this
OutputDataStream to a specific InetSocketAddress.
|
addTarget, close, getNumberOfBytesSent, getOutputBitrate, getOutputBitrate, getPacketLoggingService, logDroppedPacket, packetize, removeTarget, removeTargets, setEnabled, setMaxPacketsPerMillis, setPriority, syncWrite, write, writepublic RTPConnectorTCPOutputStream(Socket socket)
socket - a Socketprotected void sendToTarget(RawPacket packet, InetSocketAddress target) throws IOException
sendToTarget in class RTPConnectorOutputStreampacket - the RawPacket to send through this
OutputDataStream to the specified targettarget - the InetSocketAddress to which the specified
packet is to be sent through this OutputDataStreamIOException - if anything goes wrong while sending the specified
packet through this OutputDataStream to the specified
targetprotected void doLogPacket(RawPacket packet, InetSocketAddress target)
doLogPacket in class RTPConnectorOutputStreampacket - packet to logtarget - the remote address associated with the packetprotected boolean isSocketValid()
isSocketValid in class RTPConnectorOutputStreamCopyright © 2021 jitsi.org. All rights reserved.