\OpenTokMediaMode

Defines values for the mediaMode parameter of the \OpenTok\OpenTok->createSession() method.

Summary

Methods
Properties
Constants
isValidName()
isValidValue()
No public properties found
ROUTED
RELAYED
No protected methods found
No protected properties found
N/A
getConstants()
$constCacheArray
N/A

Constants

ROUTED

ROUTED

The session will send streams using the OpenTok Media Router.

RELAYED

RELAYED

The session will attempt send streams directly between clients. If clients cannot connect due to firewall restrictions, the session uses the OpenTok TURN server to relay streams.

Properties

$constCacheArray

$constCacheArray : 

Type

Methods

isValidName()

isValidName(  $name,   $strict = false) 

Parameters

$name
$strict

isValidValue()

isValidValue(  $value) 

Parameters

$value

getConstants()

getConstants()