リクエストを送信してレスポンスを受信する Jain Sip アプリケーションを構築しています。応答が受信されない場合は、コードで処理する必要がありますが、processTimeout 関数を起動する前のデフォルトの遅延が長すぎます (~32 秒)。どうすれば最小化できますか?
以下は私のコードのスニペットです:
//Sending the request statfully:
sendRegisterStateful{
ClientTransaction transaction = this.sipProvider.getNewClientTransaction(request);
// Send the request statefully, through the client transaction.
transaction.sendRequest();
//Process timeout function:
public void processTimeou{
//Need to fire the timeout here after 7sec instead of ~32s
}
ありがとう、サリム