public interface Mixer extends Hub
Hub
that allows routing of video between arbitrary port pairs and mixing of audio among several portsModifier and Type | Interface and Description |
---|---|
static class |
Mixer.Builder |
Modifier and Type | Method and Description |
---|---|
void |
connect(MediaType media,
HubPort source,
HubPort sink)
Connects each corresponding
MediaType of the given source port with the sink port. |
void |
connect(MediaType media,
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,
MediaType media,
HubPort source,
HubPort sink)
Connects each corresponding
MediaType of the given source port with the sink port. |
void |
disconnect(MediaType media,
HubPort source,
HubPort sink)
Disonnects each corresponding
MediaType of the given source port from the sink port. |
void |
disconnect(MediaType media,
HubPort source,
HubPort sink,
Continuation<Void> cont)
Asynchronous version of disconnect:
Continuation.onSuccess(F) is called when the action is
done. |
void |
disconnect(Transaction tx,
MediaType media,
HubPort source,
HubPort sink)
Disonnects each corresponding
MediaType of the given source port from the sink port. |
getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, 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, setSendTagsInEvents
isCommited, release, release, release, waitCommited, whenCommited, whenCommited
void connect(MediaType media, HubPort source, HubPort sink)
MediaType
of the given source port with the sink port.media
- The sort of media stream to be connectedsource
- Source port to be connectedsink
- Sink port to be connectedvoid connect(MediaType media, 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.media
- The sort of media stream to be connectedsource
- Source port to be connectedsink
- Sink port to be connectedconnect(org.kurento.client.MediaType, org.kurento.client.HubPort, org.kurento.client.HubPort)
void connect(Transaction tx, MediaType media, HubPort source, HubPort sink)
MediaType
of the given source port with the sink port.media
- The sort of media stream to be connectedsource
- Source port to be connectedsink
- Sink port to be connectedvoid disconnect(MediaType media, HubPort source, HubPort sink)
MediaType
of the given source port from the sink port.media
- The sort of media stream to be disconnectedsource
- Audio source port to be disconnectedsink
- Audio sink port to be disconnectedvoid disconnect(MediaType media, 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.media
- The sort of media stream to be disconnectedsource
- Audio source port to be disconnectedsink
- Audio sink port to be disconnecteddisconnect(org.kurento.client.MediaType, org.kurento.client.HubPort, org.kurento.client.HubPort)
void disconnect(Transaction tx, MediaType media, HubPort source, HubPort sink)
MediaType
of the given source port from the sink port.media
- The sort of media stream to be disconnectedsource
- Audio source port to be disconnectedsink
- Audio sink port to be disconnectedCopyright © 2020 Kurento. All rights reserved.