public interface DispatcherOneToMany extends Hub
Hub that sends a given source to all the connected sinks| Modifier and Type | Interface and Description |
|---|---|
static class |
DispatcherOneToMany.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
removeSource()
Remove the source port and stop the media pipeline.
|
void |
removeSource(Continuation<Void> cont)
Asynchronous version of removeSource:
Continuation.onSuccess(F) is called when the action is
done. |
void |
removeSource(Transaction tx)
Remove the source port and stop the media pipeline.
|
void |
setSource(HubPort source)
Sets the source port that will be connected to the sinks of every
HubPort of the dispatcher |
void |
setSource(HubPort source,
Continuation<Void> cont)
Asynchronous version of setSource:
Continuation.onSuccess(F) is called when the action is
done. |
void |
setSource(Transaction tx,
HubPort source)
Sets the source port that will be connected to the sinks of every
HubPort of the dispatcher |
getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDotaddErrorListener, 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 setSource(HubPort source)
HubPort of the dispatchersource - source to be broadcastedvoid setSource(HubPort source, Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.source - source to be broadcastedsetSource(org.kurento.client.HubPort)void setSource(Transaction tx, HubPort source)
HubPort of the dispatchersource - source to be broadcastedvoid removeSource()
void removeSource(Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.removeSource()void removeSource(Transaction tx)
Copyright © 2015 Kurento. All rights reserved.