| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.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 output| Method Detail | 
|---|
public void addSourceDescription(SourceDescription sdes)
sdes - The description to addpublic void setSourceDescription(SourceDescription[] sourceDesc)
setSourceDescription in interface SendStreampublic void close()
close in interface SendStream
public void stop()
          throws java.io.IOException
stop in interface SendStreamjava.io.IOException
public void start()
           throws java.io.IOException
start in interface SendStreamjava.io.IOExceptionpublic int setBitRate(int bitRate)
setBitRate in interface SendStreampublic TransmissionStats getSourceTransmissionStats()
getSourceTransmissionStats in interface SendStreampublic Participant getParticipant()
getParticipant in interface RTPStreampublic SenderReport getSenderReport()
getSenderReport in interface RTPStreampublic long getSSRC()
getSSRC in interface RTPStreampublic DataSource getDataSource()
getDataSource in interface RTPStreampublic void transferData(PushSourceStream stream)
transferData in interface SourceTransferHandlerpublic void transferData(PushBufferStream stream)
transferData in interface BufferTransferHandlerpublic 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 | ||||||||