public class RtcpReceivedEvent extends AbstractRtcpEvent
Available since Asterisk 1.6
It is implemented in main/rtp.c
Modifier and Type | Field and Description |
---|---|
static int |
PT_H261_FUR |
static int |
PT_RECEIVER_REPORT
Payload identifier for a receiver report.
|
static int |
PT_SENDER_REPORT
Payload identifier for a sender report.
|
source
Constructor and Description |
---|
RtcpReceivedEvent(Object source) |
Modifier and Type | Method and Description |
---|---|
InetAddress |
getFromAddress()
Returns the IP address the RTCP message has been received from.
|
Integer |
getFromPort()
Returns the port of the RTCP message has been received from.
|
Long |
getHighestSequence() |
Double |
getLastSr() |
Long |
getPacketsLost()
Returns the number of packets lost so far.
|
Long |
getPt()
Indicates the format of the payload, typical values are 200 for sender reports and
201 for receiver reports.
|
Long |
getReceptionReports() |
Long |
getRtt()
Returns the round trip time.
|
Long |
getSenderSsrc()
Returns the synchronization source identifier of the sender.
|
Long |
getSequenceNumberCycles() |
void |
setFrom(String from) |
void |
setHighestSequence(Long highestSequence) |
void |
setLastSr(Double lastSr) |
void |
setPacketsLost(Long packetsLost) |
void |
setPt(String ptString) |
void |
setReceptionReports(Long receptionReports) |
void |
setRtt(String rttString) |
void |
setSenderSsrc(Long senderSsrc) |
void |
setSequenceNumberCycles(Long sequenceNumberCycles) |
getDlSr, getFractionLost, getIaJitter, secStringToDouble, secStringToLong, setDlSr, setFractionLost, setIaJitter, stringToAddress, stringToPort
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, toString
getSource
public static final int PT_SENDER_REPORT
public static final int PT_RECEIVER_REPORT
public static final int PT_H261_FUR
public RtcpReceivedEvent(Object source)
public InetAddress getFromAddress()
public Integer getFromPort()
public void setFrom(String from)
public Long getPt()
PT_SENDER_REPORT
,
PT_RECEIVER_REPORT
public void setPt(String ptString)
public Long getReceptionReports()
public void setReceptionReports(Long receptionReports)
public Long getSenderSsrc()
public void setSenderSsrc(Long senderSsrc)
public Long getPacketsLost()
public void setPacketsLost(Long packetsLost)
public Long getHighestSequence()
public void setHighestSequence(Long highestSequence)
public Long getSequenceNumberCycles()
public void setSequenceNumberCycles(Long sequenceNumberCycles)
public Double getLastSr()
public void setLastSr(Double lastSr)
public Long getRtt()
null
.public void setRtt(String rttString)
Copyright © 2004–2016. All rights reserved.