Package org.kurento.client
Interface Dispatcher
- All Superinterfaces:
Hub
,KurentoObject
,MediaObject
A
Hub
that allows routing between arbitrary port pairs-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
Connects each correspondingMediaType
of the given source port with the sink port.void
connect
(HubPort source, HubPort sink, Continuation<Void> cont) Asynchronous version of connect:Continuation.onSuccess(F)
is called when the action is done.void
connect
(Transaction tx, HubPort source, HubPort sink) Connects each correspondingMediaType
of the given source port with the sink port.Methods inherited from interface org.kurento.client.Hub
dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, dumpGstreamerDot, 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 Details
-
connect
Connects each correspondingMediaType
of the given source port with the sink port.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected
-
connect
Asynchronous version of connect:Continuation.onSuccess(F)
is called when the action is done. If an error occurs,Continuation.onError(java.lang.Throwable)
is called.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected- See Also:
-
connect
Connects each correspondingMediaType
of the given source port with the sink port.- Parameters:
source
- Source port to be connectedsink
- Sink port to be connected
-