Skip to content

Commit 8b6b035

Browse files
committed
Update PHP Server SDK docs to have a relay mode by default.
1 parent 2c5dc0b commit 8b6b035

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ The `getSessionId()` method of the `OpenTok\Session` instance returns the sessio
6565
which you use to identify the session in the OpenTok client libraries.
6666

6767
```php
68-
// Just a plain Session
68+
// Create a session that attempts to use peer-to-peer streaming:
6969
$session = $openTok->createSession();
70-
// A Session that attempts to use peer-to-peer streaming
70+
// A session that uses the OpenTok Media Router:
7171
$session = $openTok->createSession(array( 'mediaMode' => MediaMode::RELAYED ));
72-
// A Session with a location hint
72+
// A session with a location hint:
7373
$session = $openTok->createSession(array( 'location' => '12.34.56.78' ));
7474

7575
// Store this sessionId in the database for later use

0 commit comments

Comments
 (0)