A basic video chat in the new SDK would look something like this:
<?php
require_once 'SDK/API_Config.php';
require_once 'SDK/TokBoxAPI.php';
require_once 'SDK/TokBoxCall.php';
$apiObj = new TokBoxAPI(API_Config::PARTNER_KEY, API_Config::PARTNER_SECRET);
$callId = TokBoxCall::createCall($apiObj);
echo TokBoxCall::generateEmbedCode($callId);
?>
To learn how to use the more advanced functionality, please read through the following tutorial:
http://code.google.com/p/tokboxapi/wiki/PHPTutorialV1
--
Melih O.
me...@tokbox.com
> --
> You received this message because you are subscribed to the Google Groups "CallWidget-Developers" group.
> To post to this group, send email to tokbox-d...@googlegroups.com.
> To unsubscribe from this group, send email to tokbox-develop...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tokbox-developers?hl=en.
>