| Modifier and Type | Method and Description |
|---|---|
MediaMode |
SessionProperties.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) |
static MediaMode |
MediaMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaMode[] |
MediaMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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 Server
(
MediaMode.ROUTED) or attempting direct p2p connections
(MediaMode.RELAYED, not available yet)
Default value is MediaMode.ROUTED |
Copyright © 2018 OpenVidu. All rights reserved.