|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fmj.media.rtp.RTPSendStream
public class RTPSendStream
Represnts an RTP sending stream
Constructor Summary | |
---|---|
RTPSendStream(long ssrc,
DataSource dataSource,
OutputDataStream rtpDataStream,
int index,
RTPLocalParticipant participant,
int format,
double clockRate)
Creates a new RTPSendStream |
Method Summary | |
---|---|
void |
addSourceDescription(SourceDescription sdes)
Adds a source description to this send stream |
void |
close()
|
DataSource |
getDataSource()
|
long |
getLastSendTime()
Returns the last time a packet was sent |
long |
getLastTimestamp()
Returns the last timestamp of a packet sent |
Participant |
getParticipant()
|
int |
getSdesSize()
Returns the number of bytes of sdes that this participant requires |
SenderReport |
getSenderReport()
|
java.util.Vector |
getSourceDescription()
Returns the source description for this source |
TransmissionStats |
getSourceTransmissionStats()
|
long |
getSSRC()
|
int |
setBitRate(int bitRate)
|
void |
setSourceDescription(SourceDescription[] sourceDesc)
|
void |
start()
|
void |
stop()
|
void |
transferData(PushBufferStream stream)
|
void |
transferData(PushSourceStream stream)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RTPSendStream(long ssrc, DataSource dataSource, OutputDataStream rtpDataStream, int index, RTPLocalParticipant participant, int format, double clockRate)
ssrc
- The ssrc of the streamdataSource
- The datasource of the streamrtpDataStream
- The rtp outputMethod Detail |
---|
public void addSourceDescription(SourceDescription sdes)
sdes
- The description to addpublic void setSourceDescription(SourceDescription[] sourceDesc)
setSourceDescription
in interface SendStream
public void close()
close
in interface SendStream
public void stop() throws java.io.IOException
stop
in interface SendStream
java.io.IOException
public void start() throws java.io.IOException
start
in interface SendStream
java.io.IOException
public int setBitRate(int bitRate)
setBitRate
in interface SendStream
public TransmissionStats getSourceTransmissionStats()
getSourceTransmissionStats
in interface SendStream
public Participant getParticipant()
getParticipant
in interface RTPStream
public SenderReport getSenderReport()
getSenderReport
in interface RTPStream
public long getSSRC()
getSSRC
in interface RTPStream
public DataSource getDataSource()
getDataSource
in interface RTPStream
public void transferData(PushSourceStream stream)
transferData
in interface SourceTransferHandler
public void transferData(PushBufferStream stream)
transferData
in interface BufferTransferHandler
public java.util.Vector getSourceDescription()
public int getSdesSize()
public long getLastSendTime()
public long getLastTimestamp()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |