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. |
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 Server (
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 RecordingMode recordingMode()
RecordingMode.ALWAYS) or not
(RecordingMode.MANUAL)public MediaMode mediaMode()
MediaMode.ROUTED) or
attempting direct p2p connections (MediaMode.RELAYED, not
available yet)public RecordingLayout defaultRecordingLayout()
RecordingProperties.recordingLayout() of
every recording of this session. You can easily override this value later
when initializing a Recording by calling
RecordingProperties.Builder.recordingLayout(RecordingLayout)
with any other valuepublic String defaultCustomLayout()
RecordingProperties.customLayout() of every
recording of this session. You can easily override this value later when
initializing a Recording by calling
RecordingProperties.Builder.customLayout(String)
with any other valuepublic String customSessionId()
Copyright © 2018 OpenVidu. All rights reserved.