public interface Dispatcher extends Hub
Hub that allows routing between arbitrary port pairs| Modifier and Type | Interface and Description |
|---|---|
static class |
Dispatcher.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(HubPort source,
HubPort sink)
Connects each corresponding
MediaType 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 corresponding
MediaType of the given source port with the sink port. |
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 connect(HubPort source, HubPort sink)
MediaType of the given source port with the sink port.source - Source port to be connectedsink - Sink port to be connectedvoid connect(HubPort source, HubPort sink, 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 port to be connectedsink - Sink port to be connectedconnect(org.kurento.client.HubPort, org.kurento.client.HubPort)void connect(Transaction tx, HubPort source, HubPort sink)
MediaType of the given source port with the sink port.source - Source port to be connectedsink - Sink port to be connectedCopyright © 2015 Kurento. All rights reserved.