\OpenTokMediaMode

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

Summary

Methods
Properties
Constants
No public methods found
No public properties found
ROUTED
RELAYED
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
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.