Interface DispatcherOneToMany
- All Superinterfaces:
Hub, KurentoObject, MediaObject
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidRemove the source port and stop the media pipeline.voidremoveSource(Continuation<Void> cont) Asynchronous version of removeSource:Continuation.onSuccess(F)is called when the action is done.voidRemove the source port and stop the media pipeline.voidSets the source port that will be connected to the sinks of everyHubPortof the dispatchervoidsetSource(HubPort source, Continuation<Void> cont) Asynchronous version of setSource:Continuation.onSuccess(F)is called when the action is done.voidsetSource(Transaction tx, HubPort source) Sets the source port that will be connected to the sinks of everyHubPortof the dispatcherMethods inherited from interface Hub
dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDotMethods inherited from interface KurentoObject
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommitedMethods inherited from interface 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 Details
-
setSource
-
setSource
Asynchronous version of setSource:Continuation.onSuccess(F)is called when the action is done. If an error occurs,Continuation.onError(Throwable)is called.- Parameters:
source- source to be broadcasted- See Also:
-
setSource
Sets the source port that will be connected to the sinks of everyHubPortof the dispatcher- Parameters:
source- source to be broadcasted
-
removeSource
void removeSource()Remove the source port and stop the media pipeline. -
removeSource
Asynchronous version of removeSource:Continuation.onSuccess(F)is called when the action is done. If an error occurs,Continuation.onError(Throwable)is called.- See Also:
-
removeSource
Remove the source port and stop the media pipeline.
-