概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

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

    java.lang.Object
      jp.ac.naka.ec.media.RTPSocketAdapter

    public class RTPSocketAdapter

extends java.lang.Object

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.
`PushSourceStream` | `getControlInputStream()` Returns an input stream to receive the RTCP data.
`OutputDataStream` | `getControlOutputStream()` Returns an output stream to send the RTCP data.
`PushSourceStream` | `getDataInputStream()` Returns an input stream to receive the RTP data.
`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 PushSourceStream getDataInputStream()
                                        throws java.io.IOException

  Returns an input stream to receive the RTP data.

  例外:
    `java.io.IOException`

### getDataOutputStream

    public OutputDataStream getDataOutputStream()
                                         throws java.io.IOException

  Returns an output stream to send the RTP data.

  例外:
    `java.io.IOException`

### getControlInputStream

    public PushSourceStream getControlInputStream()
                                           throws java.io.IOException

  Returns an input stream to receive the RTCP data.

  例外:
    `java.io.IOException`

### getControlOutputStream

    public OutputDataStream getControlOutputStream()
                                            throws java.io.IOException

  Returns an output stream to send the RTCP data.

  例外:
    `java.io.IOException`

### close

    public void close()

  Close all the RTP, RTCP streams.

### 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.

  例外:
    `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.

### 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.

  例外:
    `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.

### 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.

### 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.

概要 | パッケージ | クラス | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド