webphone
Class SIPNotification.VAD

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.VAD
Enclosing class:
SIPNotification

public static class SIPNotification.VAD
extends SIPNotification

VAD notification.
Triggered by: voice activity
Event: SIPNotificationListener.onVAD
Fields: VAD,parameters (VAD,local_vad: ON local_avg: 0 local_max: 0 local_speaking: no remote_vad: ON remote_avg: 0 remote_max: 0 remote_speaking: no)


Nested Class Summary
 
Nested classes/interfaces inherited from class webphone.SIPNotification
SIPNotification.Account, SIPNotification.AI, SIPNotification.Answer, SIPNotification.APIResult, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.LicKey, SIPNotification.Line, SIPNotification.Log, SIPNotification.Media, SIPNotification.MWI, SIPNotification.NewContact, SIPNotification.PlayReady, SIPNotification.Popup, SIPNotification.Presence, SIPNotification.Rating, SIPNotification.Register, SIPNotification.RTPE, SIPNotification.RTPStat, SIPNotification.RTPT, SIPNotification.ServerContacts, SIPNotification.ShouldReset, SIPNotification.SIP, SIPNotification.SRS, SIPNotification.Start, SIPNotification.Status, SIPNotification.Stop, SIPNotification.USSD, SIPNotification.VAD, SIPNotification.Video, SIPNotification.Vrec
 
Field Summary
 
Fields inherited from class webphone.SIPNotification
NOTIFICATION_ACCOUNT, NOTIFICATION_AI, NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_APIRESULT, NOTIFICATION_BLF, NOTIFICATION_BLOCK, NOTIFICATION_CDR, NOTIFICATION_CHAT, NOTIFICATION_CHATCOMPOSING, NOTIFICATION_CHATREPORT, NOTIFICATION_CREDIT, NOTIFICATION_DTMF, NOTIFICATION_EVENT, NOTIFICATION_GROUP, NOTIFICATION_INFO, NOTIFICATION_INVALID, NOTIFICATION_LICKEY, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MEDIA, NOTIFICATION_MWI, NOTIFICATION_NEWUSER, NOTIFICATION_PLAYREADY, NOTIFICATION_POPUP, NOTIFICATION_PRESENCE, NOTIFICATION_RATING, NOTIFICATION_REGISTER, NOTIFICATION_RTPE, NOTIFICATION_RTPSTAT, NOTIFICATION_RTPT, NOTIFICATION_SERVERCONTACTS, NOTIFICATION_SHOULDRESET, NOTIFICATION_SIP, NOTIFICATION_SRS, NOTIFICATION_START, NOTIFICATION_STATUS, NOTIFICATION_STOP, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
 
Method Summary
 int getLine()
          endpoint line
 long getLocalAvg()
          average signal level from microphone
 long getLocalMax()
          maximum signal level from microphone
 boolean getLocalSpeaking()
          local user speak detected
 boolean getLocalValid()
          VAD is measured for microphone (audio sent to peer)
 java.lang.String getParameters()
          returns all parameters
 long getRemoteAvg()
          average signal level from peer to speaker out
 long getRemoteMax()
          maximum signal level from peer to speaker out
 boolean getRemoteSpeaking()
          peer user speak detected
 boolean getRemoteValid()
          VAD is measured from peer for speaker (audio received from peer)
 
Methods inherited from class webphone.SIPNotification
getNotificationType, getNotificationTypeText, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLine

public int getLine()
endpoint line


getParameters

public java.lang.String getParameters()
returns all parameters


getLocalValid

public boolean getLocalValid()
VAD is measured for microphone (audio sent to peer)


getLocalAvg

public long getLocalAvg()
average signal level from microphone


getLocalMax

public long getLocalMax()
maximum signal level from microphone


getLocalSpeaking

public boolean getLocalSpeaking()
local user speak detected


getRemoteValid

public boolean getRemoteValid()
VAD is measured from peer for speaker (audio received from peer)


getRemoteAvg

public long getRemoteAvg()
average signal level from peer to speaker out


getRemoteMax

public long getRemoteMax()
maximum signal level from peer to speaker out


getRemoteSpeaking

public boolean getRemoteSpeaking()
peer user speak detected