mirror of https://github.com/OpenVidu/openvidu.git
Test commit trigger
parent
055d99206b
commit
2fbbc5e891
|
@ -120,8 +120,9 @@ public class SessionProperties {
|
||||||
* the specified codec and {@link #allowTranscoding(Boolean)} is
|
* the specified codec and {@link #allowTranscoding(Boolean)} is
|
||||||
* <code>false</code> and exception will occur. If forcedVideoCodec is set to
|
* <code>false</code> and exception will occur. If forcedVideoCodec is set to
|
||||||
* NONE, no codec will be forced.<br>
|
* NONE, no codec will be forced.<br>
|
||||||
* If defined here, this parameter has prevalence over OPENVIDU_STREAMS_FORCED_VIDEO_CODEC.
|
* If defined here, this parameter has prevalence over
|
||||||
* OPENVIDU_STREAMS_FORCED_VIDEO_CODEC default is {@link VideoCodec#VP8}
|
* OPENVIDU_STREAMS_FORCED_VIDEO_CODEC. OPENVIDU_STREAMS_FORCED_VIDEO_CODEC
|
||||||
|
* default is {@link VideoCodec#VP8}
|
||||||
*/
|
*/
|
||||||
public SessionProperties.Builder forcedVideoCodec(VideoCodec forcedVideoCodec) {
|
public SessionProperties.Builder forcedVideoCodec(VideoCodec forcedVideoCodec) {
|
||||||
this.forcedVideoCodec = forcedVideoCodec;
|
this.forcedVideoCodec = forcedVideoCodec;
|
||||||
|
@ -132,8 +133,9 @@ public class SessionProperties {
|
||||||
* Call this method to define if you want to allow transcoding in the media
|
* Call this method to define if you want to allow transcoding in the media
|
||||||
* server or not when {@link #forcedVideoCodec(VideoCodec)} is not compatible
|
* server or not when {@link #forcedVideoCodec(VideoCodec)} is not compatible
|
||||||
* with the browser/client.<br>
|
* with the browser/client.<br>
|
||||||
* If defined here, this parameter has prevalence over OPENVIDU_STREAMS_ALLOW_TRANSCODING.
|
* If defined here, this parameter has prevalence over
|
||||||
* OPENVIDU_STREAMS_ALLOW_TRANSCODING default is 'false'
|
* OPENVIDU_STREAMS_ALLOW_TRANSCODING. OPENVIDU_STREAMS_ALLOW_TRANSCODING
|
||||||
|
* default is 'false'
|
||||||
*/
|
*/
|
||||||
public SessionProperties.Builder allowTranscoding(Boolean allowTranscoding) {
|
public SessionProperties.Builder allowTranscoding(Boolean allowTranscoding) {
|
||||||
this.allowTranscoding = allowTranscoding;
|
this.allowTranscoding = allowTranscoding;
|
||||||
|
|
|
@ -18,8 +18,9 @@
|
||||||
package io.openvidu.java.client;
|
package io.openvidu.java.client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* See {@link io.openvidu.java.client.SessionProperties.Builder#forcedVideoCodec(VideoCodec)}
|
* See
|
||||||
|
* {@link io.openvidu.java.client.SessionProperties.Builder#forcedVideoCodec(VideoCodec)}
|
||||||
*/
|
*/
|
||||||
public enum VideoCodec {
|
public enum VideoCodec {
|
||||||
VP8, VP9, H264, NONE
|
VP8, VP9, H264, NONE
|
||||||
}
|
}
|
Loading…
Reference in New Issue