jp.ac.naka.ec.media
クラス RTPSocketAdapter

java.lang.Object
  上位を拡張 jp.ac.naka.ec.media.RTPSocketAdapter
すべての実装されたインタフェース:
javax.media.rtp.RTPConnector

public class RTPSocketAdapter
extends java.lang.Object
implements javax.media.rtp.RTPConnector

An implementation of RTPConnector based on UDP sockets.


コンストラクタの概要
RTPSocketAdapter(java.net.InetAddress addr, int port)
           
RTPSocketAdapter(java.net.InetAddress addr, int port, int ttl)
           
 
メソッドの概要
 void close()
          Close all the RTP, RTCP streams.
 javax.media.protocol.PushSourceStream getControlInputStream()
          Returns an input stream to receive the RTCP data.
 javax.media.rtp.OutputDataStream getControlOutputStream()
          Returns an output stream to send the RTCP data.
 javax.media.protocol.PushSourceStream getDataInputStream()
          Returns an input stream to receive the RTP data.
 javax.media.rtp.OutputDataStream getDataOutputStream()
          Returns an output stream to send the RTP data.
 int getReceiveBufferSize()
          Get the receive buffer size set on the RTP data channel.
 double getRTCPBandwidthFraction()
          Return the RTCP bandwidth fraction.
 double getRTCPSenderBandwidthFraction()
          Return the RTCP sender bandwidth fraction.
 int getSendBufferSize()
          Get the send buffer size set on the RTP data channel.
 void setReceiveBufferSize(int size)
          Set the receive buffer size of the RTP data channel.
 void setSendBufferSize(int size)
          Set the send buffer size of the RTP data channel.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

RTPSocketAdapter

public RTPSocketAdapter(java.net.InetAddress addr,
                        int port)
                 throws java.io.IOException
例外:
java.io.IOException

RTPSocketAdapter

public RTPSocketAdapter(java.net.InetAddress addr,
                        int port,
                        int ttl)
                 throws java.io.IOException
例外:
java.io.IOException
メソッドの詳細

getDataInputStream

public javax.media.protocol.PushSourceStream getDataInputStream()
                                                         throws java.io.IOException
Returns an input stream to receive the RTP data.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getDataInputStream
例外:
java.io.IOException

getDataOutputStream

public javax.media.rtp.OutputDataStream getDataOutputStream()
                                                     throws java.io.IOException
Returns an output stream to send the RTP data.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getDataOutputStream
例外:
java.io.IOException

getControlInputStream

public javax.media.protocol.PushSourceStream getControlInputStream()
                                                            throws java.io.IOException
Returns an input stream to receive the RTCP data.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getControlInputStream
例外:
java.io.IOException

getControlOutputStream

public javax.media.rtp.OutputDataStream getControlOutputStream()
                                                        throws java.io.IOException
Returns an output stream to send the RTCP data.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getControlOutputStream
例外:
java.io.IOException

close

public void close()
Close all the RTP, RTCP streams.

定義:
インタフェース javax.media.rtp.RTPConnector 内の close

setReceiveBufferSize

public void setReceiveBufferSize(int size)
                          throws java.io.IOException
Set the receive buffer size of the RTP data channel. This is only a hint to the implementation. The actual implementation may not be able to do anything to this.

定義:
インタフェース javax.media.rtp.RTPConnector 内の setReceiveBufferSize
例外:
java.io.IOException

getReceiveBufferSize

public int getReceiveBufferSize()
Get the receive buffer size set on the RTP data channel. Return -1 if the receive buffer size is not applicable for the implementation.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getReceiveBufferSize

setSendBufferSize

public void setSendBufferSize(int size)
                       throws java.io.IOException
Set the send buffer size of the RTP data channel. This is only a hint to the implementation. The actual implementation may not be able to do anything to this.

定義:
インタフェース javax.media.rtp.RTPConnector 内の setSendBufferSize
例外:
java.io.IOException

getSendBufferSize

public int getSendBufferSize()
Get the send buffer size set on the RTP data channel. Return -1 if the send buffer size is not applicable for the implementation.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getSendBufferSize

getRTCPBandwidthFraction

public double getRTCPBandwidthFraction()
Return the RTCP bandwidth fraction. This value is used to initialize the RTPManager. Check RTPManager for more detauls. Return -1 to use the default values.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getRTCPBandwidthFraction

getRTCPSenderBandwidthFraction

public double getRTCPSenderBandwidthFraction()
Return the RTCP sender bandwidth fraction. This value is used to initialize the RTPManager. Check RTPManager for more detauls. Return -1 to use the default values.

定義:
インタフェース javax.media.rtp.RTPConnector 内の getRTCPSenderBandwidthFraction