webphone
Class SIPNotification.RTPStat

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

public static class SIPNotification.RTPStat
extends SIPNotification

RTPSTAT notification.
Triggered by: media quality reports
Event: SIPNotificationListener.onRTPStat
Fields: RTPSTAT,quality,sent,rec,issues,loss


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
static int QUALITY_HIGH
          good quality
static int QUALITY_HIGHEST
          excellent quality
static int QUALITY_LOW
          bad quality
static int QUALITY_LOWEST
          very bad quality
static int QUALITY_MEDIUM
          medium quality
static int QUALITY_NO
          no audio or non-recognizable voice
static int QUALITY_UNKNOWN
          unrecognizable
 
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
 long getIssues()
          number of issues (any issues are counted, such as sequence number mismatch or packet drop)
 long getLoss()
          lost packets
 int getQuality()
          call quality (QUALITY_...
 java.lang.String getQualityText()
          quality as text
 long getRec()
          RTP packets received and played
 long getSent()
          RTP packets sent
 
Methods inherited from class webphone.SIPNotification
getNotificationType, getNotificationTypeText, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUALITY_UNKNOWN

public static final int QUALITY_UNKNOWN
unrecognizable

See Also:
Constant Field Values

QUALITY_NO

public static final int QUALITY_NO
no audio or non-recognizable voice

See Also:
Constant Field Values

QUALITY_LOWEST

public static final int QUALITY_LOWEST
very bad quality

See Also:
Constant Field Values

QUALITY_LOW

public static final int QUALITY_LOW
bad quality

See Also:
Constant Field Values

QUALITY_MEDIUM

public static final int QUALITY_MEDIUM
medium quality

See Also:
Constant Field Values

QUALITY_HIGH

public static final int QUALITY_HIGH
good quality

See Also:
Constant Field Values

QUALITY_HIGHEST

public static final int QUALITY_HIGHEST
excellent quality

See Also:
Constant Field Values
Method Detail

getQuality

public int getQuality()
call quality (QUALITY_... constant)


getQualityText

public java.lang.String getQualityText()
quality as text


getSent

public long getSent()
RTP packets sent


getRec

public long getRec()
RTP packets received and played


getIssues

public long getIssues()
number of issues (any issues are counted, such as sequence number mismatch or packet drop)


getLoss

public long getLoss()
lost packets