Optional
lastValue passed the last time execMethod was called. If undefined
this method has not been called yet.
You can use this value to know the current status of any applied filter
Parameters used to initialize the filter.
These correspond to the constructor parameters used in the filter in Kurento Media Server (except for mediaPipeline
parameter, which is never needed).
For example: for filter.type = "GStreamerFilter"
could be filter.options = {"command": "videobalance saturation=0.0"}
You can get this property in *.kmd.json
files defining the Kurento filters. For example, for GStreamerFilter that's
here
Type of filter applied. This is the name of the remote class identifying the filter to apply in Kurento Media Server.
For example: "FaceOverlayFilter"
, "GStreamerFilter"
.
You can get this property in *.kmd.json
files defining the Kurento filters. For example, for GStreamerFilter that's
here
Subscribe to certain filter event. Available events are specific for each filter
A Promise (to which you can optionally subscribe to) that is resolved if the event listener was successfully attached to the filter and rejected with an Error object if not
Event to which subscribe to.
Function to execute upon event dispatched. It receives as parameter a FilterEvent object
Removes certain filter event listener previously set.
A Promise (to which you can optionally subscribe to) that is resolved if the event listener was successfully removed from the filter and rejected with an Error object in other case
Event to unsubscribe from.
Generated using TypeDoc
WARNING: experimental option. This interface may change in the near future
Video/audio filter applied to a Stream. See applyFilter