= $cache_life)) { // Note: we use a Google API there, so fallback TURNs will be using Google's TURN server through an encrypted channel // we know this won't satisfy everyone, but this is the best compromise we could find for the end-user // if you are concerned about privacy, rather setup your TURN and add it to Jappix hosts configuration // Get the JSON content $json = readUrl('https://computeengineondemand.appspot.com/turn?username='.urlencode($_GET['username'])); if($json && strpos($json, 'uris') !== false) { file_put_contents($cache_path, $json); } } else { $json = file_get_contents($cache_path); } exit($json); } ?>