public interface PlayerEndpoint extends UriEndpoint
| Modifier and Type | Interface and Description |
|---|---|
static class |
PlayerEndpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
ListenerSubscription |
addEndOfStreamListener(EventListener<EndOfStreamEvent> listener)
Add a
EventListener for event EndOfStreamEvent. |
void |
addEndOfStreamListener(EventListener<EndOfStreamEvent> listener,
Continuation<ListenerSubscription> cont)
Add a
EventListener for event EndOfStreamEvent. |
void |
play()
Starts to send data to the endpoint :rom:cls:`MediaSource`
|
void |
play(Continuation<Void> cont)
Asynchronous version of play:
Continuation.onSuccess(F) is called when the action is
done. |
void |
play(Transaction tx)
Starts to send data to the endpoint :rom:cls:`MediaSource`
|
void |
removeEndOfStreamListener(ListenerSubscription listenerSubscription)
Remove a
ListenerSubscription for event EndOfStreamEvent. |
void |
removeEndOfStreamListener(ListenerSubscription listenerSubscription,
Continuation<Void> cont)
Remove a
ListenerSubscription for event EndOfStreamEvent. |
getUri, getUri, getUri, pause, pause, pause, stop, stop, stopaddElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, setAudioFormat, setAudioFormat, setAudioFormat, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setOutputBitrate, setOutputBitrate, setOutputBitrate, setVideoFormat, setVideoFormat, setVideoFormataddErrorListener, addErrorListener, addTag, addTag, addTag, getChilds, getChilds, getChilds, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEventsisCommited, release, release, release, waitCommited, whenCommited, whenCommitedvoid play()
void play(Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.play()void play(Transaction tx)
ListenerSubscription addEndOfStreamListener(EventListener<EndOfStreamEvent> listener)
EventListener for event EndOfStreamEvent. Synchronous call.listener - Listener to be called on EndOfStreamEventvoid addEndOfStreamListener(EventListener<EndOfStreamEvent> listener, Continuation<ListenerSubscription> cont)
EventListener for event EndOfStreamEvent. Asynchronous call.
Calls Continuation<ListenerSubscription> when it has been added.listener - Listener to be called on EndOfStreamEventcont - Continuation to be called when the listener is registeredvoid removeEndOfStreamListener(ListenerSubscription listenerSubscription)
ListenerSubscription for event EndOfStreamEvent. Synchronous call.listenerSubscription - Listener subscription to be removedvoid removeEndOfStreamListener(ListenerSubscription listenerSubscription, Continuation<Void> cont)
ListenerSubscription for event EndOfStreamEvent. Asynchronous call.
Calls Continuation<Void> when it has been removed.listenerSubscription - Listener subscription to be removedcont - Continuation to be called when the listener is removedCopyright © 2015 Kurento. All rights reserved.