FileDocCategorySizeDatePackage
SendStream.javaAPI DocJMF 2.1.1e2905Mon May 12 12:20:40 BST 2003javax.media.rtp

SendStream

public interface SendStream implements RTPStream
Interface SendStream -- interface representing a sending stream within an RTP session.

Fields Summary
Constructors Summary
Methods Summary
public voidclose()
Removes the stream from the session. When this method is called the RTPSM deallocates all resources associated with this stream and releases references to this object as well as the Player which had been providing the send stream.

public javax.media.rtp.TransmissionStatsgetSourceTransmissionStats()
Retrieve statistics on data and control packets transmitted on this RTPSendStream. All the transmission statistics pertain to this particular RTPSendStream only. Global statistics on all data sent out from this participant (host) can be retrieved using getGlobalTransmission() method from the SessionManager.

public intsetBitRate(int bitRate)

public voidsetSourceDescription(javax.media.rtp.rtcp.SourceDescription[] sourceDesc)
Changes the source description (SDES) reports being sent in RTCP packets for this sending stream.

param
sourceDesc The new source description data.

public voidstart()
Will resume data transmission over the network on this RTPSendStream.

exception
IOException Thrown if there was any IO problems when starting the RTPSendStream. A start to the sendstream will also cause a start() to be called on the stream's datasource. This could also throw an IOException, consistent with datasources in JMF.

public voidstop()
Will temporarily stop the RTPSendStream i.e. the local participant will stop sending out data on the network at this time.

exception
IOException Thrown if there was any IO problems when stopping the RTPSendStream. A stop to the sendstream will also cause a stop() to be called on the stream's datasource. This could also throw an IOException, consistent with datasources in JMF.