Package org.kurento.client
Interface DispatcherOneToMany
-
- All Superinterfaces:
Hub
,KurentoObject
,MediaObject
public interface DispatcherOneToMany extends Hub
AHub
that sends a given source to all the connected sinks
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DispatcherOneToMany.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 everyHubPort
of the dispatchervoid
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 everyHubPort
of the dispatcher-
Methods inherited from interface org.kurento.client.Hub
getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot
-
Methods inherited from interface org.kurento.client.KurentoObject
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommited
-
Methods inherited from interface org.kurento.client.MediaObject
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, 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, setSendTagsInEvents
-
-
-
-
Method Detail
-
setSource
void setSource(HubPort source)
Sets the source port that will be connected to the sinks of everyHubPort
of the dispatcher- Parameters:
source
- source to be broadcasted
-
setSource
void setSource(HubPort source, Continuation<Void> cont)
Asynchronous version of setSource:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- Parameters:
source
- source to be broadcasted- See Also:
setSource(org.kurento.client.HubPort)
-
setSource
void setSource(Transaction tx, HubPort source)
Sets the source port that will be connected to the sinks of everyHubPort
of the dispatcher- Parameters:
source
- source to be broadcasted
-
removeSource
void removeSource()
Remove the source port and stop the media pipeline.
-
removeSource
void removeSource(Continuation<Void> cont)
Asynchronous version of removeSource:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- See Also:
removeSource()
-
removeSource
void removeSource(Transaction tx)
Remove the source port and stop the media pipeline.
-
-