public interface AlphaBlending extends Hub
Hub that mixes the #MediaType.AUDIO stream of its connected sources and constructs one output with #MediaType.VIDEO streams of its connected sources into its sink| Modifier and Type | Interface and Description |
|---|---|
static class |
AlphaBlending.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
setMaster(HubPort source,
int zOrder)
Sets the source port that will be the master entry to the mixer
|
void |
setMaster(HubPort source,
int zOrder,
Continuation<Void> cont)
Asynchronous version of setMaster:
Continuation.onSuccess(F) is called when the action is
done. |
void |
setMaster(Transaction tx,
HubPort source,
int zOrder)
Sets the source port that will be the master entry to the mixer
|
void |
setPortProperties(float relativeX,
float relativeY,
int zOrder,
float relativeWidth,
float relativeHeight,
HubPort port)
Configure the blending mode of one port.
|
void |
setPortProperties(float relativeX,
float relativeY,
int zOrder,
float relativeWidth,
float relativeHeight,
HubPort port,
Continuation<Void> cont)
Asynchronous version of setPortProperties:
Continuation.onSuccess(F) is called when the action is
done. |
void |
setPortProperties(Transaction tx,
float relativeX,
float relativeY,
int zOrder,
float relativeWidth,
float relativeHeight,
HubPort port)
Configure the blending mode of one 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 setMaster(HubPort source, int zOrder)
source - The reference to the HubPort setting as master portzOrder - The order in z to draw the master imagevoid setMaster(HubPort source, int zOrder, 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 - The reference to the HubPort setting as master portzOrder - The order in z to draw the master imagesetMaster(org.kurento.client.HubPort, int)void setMaster(Transaction tx, HubPort source, int zOrder)
source - The reference to the HubPort setting as master portzOrder - The order in z to draw the master imagevoid setPortProperties(float relativeX,
float relativeY,
int zOrder,
float relativeWidth,
float relativeHeight,
HubPort port)
relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.zOrder - The order in z to draw the images. The greatest value of z is in the top.relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.port - The reference to the confingured port.void setPortProperties(float relativeX,
float relativeY,
int zOrder,
float relativeWidth,
float relativeHeight,
HubPort port,
Continuation<Void> cont)
Continuation.onSuccess(F) is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable) is called.relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.zOrder - The order in z to draw the images. The greatest value of z is in the top.relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.port - The reference to the confingured port.setPortProperties(float, float, int, float, float, org.kurento.client.HubPort)void setPortProperties(Transaction tx, float relativeX, float relativeY, int zOrder, float relativeWidth, float relativeHeight, HubPort port)
relativeX - The x position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.relativeY - The y position relative to the master port. Values from 0 to 1 are accepted. The value 0, indicates the coordinate 0 in the master image.zOrder - The order in z to draw the images. The greatest value of z is in the top.relativeWidth - The image width relative to the master port width. Values from 0 to 1 are accepted.relativeHeight - The image height relative to the master port height. Values from 0 to 1 are accepted.port - The reference to the confingured port.Copyright © 2015 Kurento. All rights reserved.