|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.media.RTPConnectorImpl
public class RTPConnectorImpl
| Field Summary | |
|---|---|
protected DatagramSocket |
controlSocket
UDP Socket we used to send and receive RTCP packets. |
protected DatagramSocket |
dataSocket
UDP Socket we used to send and receive RTP packets. |
| Constructor Summary | |
|---|---|
RTPConnectorImpl(javax.media.rtp.SessionAddress localAddr)
Initializes a new RTPConnectorImpl on a specific local RTP session address. |
|
| Method Summary | |
|---|---|
void |
addTarget(javax.media.rtp.SessionAddress target)
Add a stream target. |
void |
close()
|
protected RTPConnectorInputStream |
createControlInputStream()
Creates the RTCP packet input stream to be used by RTPManager. |
protected RTPConnectorOutputStream |
createControlOutputStream()
Creates the RTCP packet output stream to be used by RTPManager. |
protected RTPConnectorInputStream |
createDataInputStream()
Creates the RTP packet input stream to be used by RTPManager. |
protected RTPConnectorOutputStream |
createDataOutputStream()
Creates the RTP packet output stream to be used by RTPManager. |
RTPConnectorInputStream |
getControlInputStream()
|
RTPConnectorOutputStream |
getControlOutputStream()
|
RTPConnectorInputStream |
getDataInputStream()
|
RTPConnectorOutputStream |
getDataOutputStream()
|
int |
getReceiveBufferSize()
|
double |
getRTCPBandwidthFraction()
|
double |
getRTCPSenderBandwidthFraction()
|
int |
getSendBufferSize()
|
void |
removeTarget(javax.media.rtp.SessionAddress target)
Removes a target from our session. |
void |
removeTargets()
Remove all stream targets. |
void |
setReceiveBufferSize(int size)
|
void |
setSendBufferSize(int size)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DatagramSocket controlSocket
protected final DatagramSocket dataSocket
| Constructor Detail |
|---|
public RTPConnectorImpl(javax.media.rtp.SessionAddress localAddr)
throws javax.media.rtp.InvalidSessionAddressException
localAddr - the local listen address of the new RTP session
javax.media.rtp.InvalidSessionAddressException - if the specified local RTP session
address is invalid| Method Detail |
|---|
public void addTarget(javax.media.rtp.SessionAddress target)
throws IOException
target - Destination target address
IOException - if there was a socket-related error while adding the
specified targetpublic void close()
close in interface javax.media.rtp.RTPConnector
protected RTPConnectorInputStream createControlInputStream()
throws IOException
IOException - if an error occurs during the creation of the RTCP
packet input stream
protected RTPConnectorOutputStream createControlOutputStream()
throws IOException
IOException - if an error occurs during the creation of the RTCP
packet output stream
protected RTPConnectorInputStream createDataInputStream()
throws IOException
IOException - if an error occurs during the creation of the RTP
packet input stream
protected RTPConnectorOutputStream createDataOutputStream()
throws IOException
IOException - if an error occurs during the creation of the RTP
packet output stream
public RTPConnectorInputStream getControlInputStream()
throws IOException
getControlInputStream in interface javax.media.rtp.RTPConnectorIOException
public RTPConnectorOutputStream getControlOutputStream()
throws IOException
getControlOutputStream in interface javax.media.rtp.RTPConnectorIOException
public RTPConnectorInputStream getDataInputStream()
throws IOException
getDataInputStream in interface javax.media.rtp.RTPConnectorIOException
public RTPConnectorOutputStream getDataOutputStream()
throws IOException
getDataOutputStream in interface javax.media.rtp.RTPConnectorIOExceptionpublic int getReceiveBufferSize()
getReceiveBufferSize in interface javax.media.rtp.RTPConnectorpublic double getRTCPBandwidthFraction()
getRTCPBandwidthFraction in interface javax.media.rtp.RTPConnectorpublic double getRTCPSenderBandwidthFraction()
getRTCPSenderBandwidthFraction in interface javax.media.rtp.RTPConnectorpublic int getSendBufferSize()
getSendBufferSize in interface javax.media.rtp.RTPConnectorpublic void removeTarget(javax.media.rtp.SessionAddress target)
target - Destination target to be removedpublic void removeTargets()
public void setReceiveBufferSize(int size)
throws IOException
setReceiveBufferSize in interface javax.media.rtp.RTPConnectorIOException
public void setSendBufferSize(int size)
throws IOException
setSendBufferSize in interface javax.media.rtp.RTPConnectorIOException
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||