Package io.openvidu.java.client
Class KurentoOptions
- java.lang.Object
-
- io.openvidu.java.client.KurentoOptions
-
public class KurentoOptions extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KurentoOptions.Builder
Builder forKurentoOptions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getAllowedFilters()
Defines the names of the filters the Connection will be able to apply to its published streams.Integer
getVideoMaxRecvBandwidth()
Defines the maximum number of Kbps that the Connection will be able to receive from Kurento Media Server per media stream.Integer
getVideoMaxSendBandwidth()
Defines the maximum number of Kbps that the Connection will be able to send to Kurento Media Server per media stream.Integer
getVideoMinRecvBandwidth()
Defines the minimum number of Kbps that the Connection will try to receive from Kurento Media Server per media stream.Integer
getVideoMinSendBandwidth()
Defines the minimum number of Kbps that the Connection will try to send to Kurento Media Server per media stream.boolean
isFilterAllowed(String filterType)
See if the Connection can apply certain filter.com.google.gson.JsonObject
toJson()
-
-
-
Method Detail
-
getVideoMaxRecvBandwidth
public Integer getVideoMaxRecvBandwidth()
Defines the maximum number of Kbps that the Connection will be able to receive from Kurento Media Server per media stream. 0 means unconstrained. Giving a value to this property will override the global configuration set in OpenVidu Server configuration (parameterOPENVIDU_STREAMS_VIDEO_MAX_RECV_BANDWIDTH
) for every incoming stream of the user owning the token.
WARNING: the lower value set to this property limits every other bandwidth of the WebRTC pipeline this server-to-client stream belongs to. This includes the user publishing the stream and every other user subscribed to the stream
-
getVideoMinRecvBandwidth
public Integer getVideoMinRecvBandwidth()
Defines the minimum number of Kbps that the Connection will try to receive from Kurento Media Server per media stream. 0 means unconstrained. Giving a value to this property will override the global configuration set in OpenVidu Server configuration (parameterOPENVIDU_STREAMS_VIDEO_MIN_RECV_BANDWIDTH
) for every incoming stream of the user owning the token.
-
getVideoMaxSendBandwidth
public Integer getVideoMaxSendBandwidth()
Defines the maximum number of Kbps that the Connection will be able to send to Kurento Media Server per media stream. 0 means unconstrained. Giving a value to this property will override the global configuration set in OpenVidu Server configuration (parameterOPENVIDU_STREAMS_VIDEO_MAX_SEND_BANDWIDTH
) for every outgoing stream of the user owning the token.
WARNING: this value limits every other bandwidth of the WebRTC pipeline this client-to-server stream belongs to. This includes every other user subscribed to the stream
-
getVideoMinSendBandwidth
public Integer getVideoMinSendBandwidth()
Defines the minimum number of Kbps that the Connection will try to send to Kurento Media Server per media stream. 0 means unconstrained. Giving a value to this property will override the global configuration set in OpenVidu Server configuration (parameterOPENVIDU_STREAMS_VIDEO_MIN_SEND_BANDWIDTH
) for every outgoing stream of the user owning the token.
-
getAllowedFilters
public String[] getAllowedFilters()
Defines the names of the filters the Connection will be able to apply to its published streams. See Voice and video filters .
-
isFilterAllowed
public boolean isFilterAllowed(String filterType)
See if the Connection can apply certain filter. See Voice and video filters .
-
toJson
public com.google.gson.JsonObject toJson()
-
-