public class SessionProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SessionProperties.Builder
Builder for
SessionProperties |
| Modifier and Type | Method and Description |
|---|---|
String |
customSessionId()
Fixes the value of the sessionId property of the Session.
|
String |
defaultCustomLayout()
Defines the default value used to initialize property
RecordingProperties.customLayout() of every
recording of this session. |
Recording.OutputMode |
defaultOutputMode()
Defines the default value used to initialize property
RecordingProperties.outputMode() of every
recording of this session. |
RecordingLayout |
defaultRecordingLayout()
Defines the default value used to initialize property
RecordingProperties.recordingLayout() of
every recording of this session. |
MediaMode |
mediaMode()
Defines 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) |
RecordingMode |
recordingMode()
Defines whether the Session will be automatically recorded
(
RecordingMode.ALWAYS) or not (RecordingMode.MANUAL) |
public MediaMode mediaMode()
MediaMode.ROUTED) or
attempting direct p2p connections (MediaMode.RELAYED, not
available yet)public RecordingMode recordingMode()
RecordingMode.ALWAYS) or not (RecordingMode.MANUAL)public Recording.OutputMode defaultOutputMode()
RecordingProperties.outputMode() of every
recording of this session. You can easily override this value later when
starting a Recording by calling
RecordingProperties.Builder.outputMode(Recording.OutputMode)
with any other valuepublic RecordingLayout defaultRecordingLayout()
RecordingProperties.recordingLayout() of
every recording of this session. You can easily override this value later
when starting a Recording by calling
RecordingProperties.Builder.recordingLayout(RecordingLayout)
with any other value.Recording.OutputMode.COMPOSEDpublic String defaultCustomLayout()
RecordingProperties.customLayout() of every
recording of this session. You can easily override this value later when
starting a Recording by calling
RecordingProperties.Builder.customLayout(String)
with any other value.Recording.OutputMode.COMPOSED and
RecordingLayout RecordingLayout.CUSTOMpublic String customSessionId()
Copyright © 2020 OpenVidu. All rights reserved.