I'm building my app based on 2 people rooms. All my users are Italian. But testing my application, it results with an high latency and the video conversation is impossibile (about 5second latency).
I'm creating the session in this way:
- Code: Select all
$apiObj = new OpenTokSDK($apikey,$apisecret);
if($_REQUEST['sessionId']) {
$sessionId = $_REQUEST['sessionId'];
} else {
$session = $apiObj->create_session($_SERVER["REMOTE_ADDR"], array("p2p.preference" => "enabled"));
$sessionId = $session->getSessionId();
$token = $apiObj->generate_token($sessionId);
}
Really I can't see any difference between p2p and server conversation.
Often there's a significant difference between thers performance?
I'll buy the support, it can emprove somethings in performance (or hide the top-left logo)?
Thank you so much