org.siprop.stack.rtp.impl
クラス RTPUAModule

java.lang.Object
  上位を拡張 org.siprop.stack.rtp.impl.RTPUAModule

public class RTPUAModule
extends java.lang.Object

RTP用のUAモジュールクラス
通常のUAモジュール内から、呼び出されることを想定している。
RTPに関するクラスは、速度の問題上、B2BUAやStackを介さない特別な経路で動作している。

作成者:
noritsuna

フィールドの概要
static int TYPE_RTCP
           
static int TYPE_RTP
           
 
コンストラクタの概要
RTPUAModule(MessageContext msg, RTPForwarder fwd)
          コンストラクタ
 
メソッドの概要
 void close()
          クローズする。
 java.lang.String getCodecDesc()
          コーデックの種類を取得する。
 java.lang.String getUniKey()
          識別キーを取得する。
 byte[] receive(int type)
          受信する。
 int send(byte[] buffer, int type)
          送信する。
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

TYPE_RTP

public static final int TYPE_RTP
関連項目:
定数フィールド値

TYPE_RTCP

public static final int TYPE_RTCP
関連項目:
定数フィールド値
コンストラクタの詳細

RTPUAModule

public RTPUAModule(MessageContext msg,
                   RTPForwarder fwd)
コンストラクタ

パラメータ:
msg -
fwd -
メソッドの詳細

close

public void close()
クローズする。


getCodecDesc

public java.lang.String getCodecDesc()
コーデックの種類を取得する。

戻り値:

getUniKey

public java.lang.String getUniKey()
識別キーを取得する。

戻り値:

receive

public byte[] receive(int type)
受信する。

パラメータ:
type -
戻り値:

send

public int send(byte[] buffer,
                int type)
         throws java.io.IOException
送信する。

パラメータ:
buffer -
type -
戻り値:
例外:
java.io.IOException