public class RxStream extends Stream
Stream.State, Stream.StateException, Stream.StreamStatusListener| Constructor and Description |
|---|
RxStream(RxStreamInfo streamInfo)
constructor for this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isTxStream() |
protected void |
sendData(Frame frame)
Send data to other nodes subscribed to this stream.
|
void |
start(Stream.StreamStatusListener listener)
Start this stream.
|
void |
stop() |
java.lang.String |
toString() |
getChannelId, getId, getNetworkId, getSdp, getSourceNodeId, getStatus, internalSetSourceNodeId, internalSetStatus, internalStart, internalStoppublic RxStream(RxStreamInfo streamInfo)
streamInfo - The stream info passed by
Channel.ChannelStatusListener.onStreamInfoUpdated(buzz.getcoco.media.RxStreamInfo, buzz.getcoco.media.Stream.State)protected boolean isTxStream()
isTxStream in class Streampublic void start(Stream.StreamStatusListener listener) throws Stream.StateException
listener - The listener which will get the data and status callbacks.Stream.StateException - If this stream is starting, started or destroyed.public void stop()
protected void sendData(Frame frame)
Stream