|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.rtp.RTPReceiveStream
public class RTPReceiveStream
Represents a stream received over RTP
| Field Summary | |
|---|---|
static long |
INACTIVITY_TIME
|
| Constructor Summary | |
|---|---|
RTPReceiveStream(DataSource dataSource,
long ssrc)
Creates a new RTPReceiveStream |
|
| Method Summary | |
|---|---|
boolean |
checkInactivity()
|
DataSource |
getDataSource()
Returns this stream's datasource. |
long |
getLastSRReportTime()
Returns the time at which the last SR report was received. |
long |
getLastSRReportTimestampLSW()
Gets the timestamp of the last sr report. |
long |
getLastSRReportTimestampMSW()
Gets the timestamp of the last sr report. |
Participant |
getParticipant()
Returns the participant associated with this stream. |
SenderReport |
getSenderReport()
Return the last RTCP Sender Report (SR) received. |
ReceptionStats |
getSourceReceptionStats()
Returns the stream's reception stats. |
long |
getSSRC()
Returns the SSRC associated with this stream. |
protected void |
setParticipant(RTPRemoteParticipant participant)
Sets the participant |
void |
setReport(Report lastReport)
Sets the last report received |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long INACTIVITY_TIME
| Constructor Detail |
|---|
public RTPReceiveStream(DataSource dataSource,
long ssrc)
dataSource - The datasource of the streamssrc - The ssrc of the stream| Method Detail |
|---|
public ReceptionStats getSourceReceptionStats()
getSourceReceptionStats in interface ReceiveStreampublic Participant getParticipant()
getParticipant in interface RTPStreampublic SenderReport getSenderReport()
getSenderReport in interface RTPStreampublic long getSSRC()
getSSRC in interface RTPStreampublic DataSource getDataSource()
getDataSource in interface RTPStreamprotected void setParticipant(RTPRemoteParticipant participant)
participant - The participant to setpublic void setReport(Report lastReport)
lastReport - The reportpublic long getLastSRReportTime()
public long getLastSRReportTimestampLSW()
public long getLastSRReportTimestampMSW()
public boolean checkInactivity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||