Skip to content

Instantly share code, notes, and snippets.

@ClaudioHenrique
Created December 29, 2014 17:06
Show Gist options
  • Select an option

  • Save ClaudioHenrique/be2539f102d702c06a2d to your computer and use it in GitHub Desktop.

Select an option

Save ClaudioHenrique/be2539f102d702c06a2d to your computer and use it in GitHub Desktop.
<?php
$config = array(
'port' => 8080,
'debug' => false,
'allowedOrigins' => null,
'IpBlackList' => null,
'authAdapter' => 'MgRTC\Session\AuthSimple',
'facebook' => array(
'appId' => '251017698383358',
'secret' => '0ee6bd094ef97478417ef9602232524d'
),
'wordpress' => array(
'dir' => '/data/projects/magnoliyan/rtc/trunk/source/client/demos/wordpress'
),
'simple' => array(
'allowAnonim' => true,
'members' => array(
array('id' => 11, 'username' => 'operator1', 'password' => 'operator1', 'name' => 'Tech Support')
)
),
'operators' => null,
'allowDuplicates' => true,
'rooms' => array(
1 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'disableVideo' => false,
'disableAudio' => false
),
2 => array(
'authAdapter' => 'MgRTC\Session\AuthFacebook',
),
3 => array(
'authAdapter' => 'MgRTC\Session\AuthWordpress',
),
4 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'operators' => array(11)
),
5 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
6 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'roulette' => true
),
7 => array(
'file' => true,
'authAdapter' => 'MgRTC\Session\AuthSimple'
),
'group_%' => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
10 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
15 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
16 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
17 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
18 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
),
19 => array(
'authAdapter' => 'MgRTC\Session\AuthSimple',
'group' => true,
'limit' => 150
)
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment