SessionProperties.Builder |
SessionProperties.Builder.allowTranscoding(Boolean allowTranscoding) |
Call this method to define if you want to allow transcoding in the media
server or not when forcedVideoCodec(VideoCodec) is not compatible
with the browser/client.
If defined here, this parameter has prevalence over
OPENVIDU_STREAMS_ALLOW_TRANSCODING.
|
SessionProperties.Builder |
SessionProperties.Builder.customSessionId(String customSessionId) |
Call this method to fix the sessionId that will be assigned to the session.
|
SessionProperties.Builder |
SessionProperties.Builder.defaultRecordingProperties(RecordingProperties defaultRecordingProperties) |
Call this method to set the default recording properties of this session.
|
SessionProperties.Builder |
SessionProperties.Builder.forcedVideoCodec(VideoCodec forcedVideoCodec) |
Define which video codec will be forcibly used for this session.
|
SessionProperties.Builder |
SessionProperties.Builder.forcedVideoCodecResolved(VideoCodec forcedVideoCodec) |
Actual video codec that will be forcibly used for this session.
|
static SessionProperties.Builder |
SessionProperties.fromJson(Map<String,?> params) |
|
SessionProperties.Builder |
SessionProperties.Builder.mediaMode(MediaMode mediaMode) |
Call this method to set how the media streams will be sent and received by
your clients: routed through OpenVidu Media Node
(MediaMode.ROUTED ) or attempting direct p2p connections
(MediaMode.RELAYED , not available yet)
Default value is MediaMode.ROUTED
|
SessionProperties.Builder |
SessionProperties.Builder.mediaNode(String mediaNodeId) |
PRO Call
this method to force the session to be hosted in the Media Node with
identifier mediaNodeId
|
SessionProperties.Builder |
SessionProperties.Builder.recordingMode(RecordingMode recordingMode) |
|