Documentation

MediaMode extends BasicEnum
in package

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

Table of Contents

RELAYED  = 'enabled'
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.
ROUTED  = 'disabled'
The session will send streams using the OpenTok Media Router.

Constants

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.

public mixed RELAYED = 'enabled'

ROUTED

The session will send streams using the OpenTok Media Router.

public mixed ROUTED = 'disabled'

Search results