With an ICS account you have the ability to record and playback your sessions with a Web Dav server.
If you have a Web Dav server already set up you can use this PHP example to register your Web Dav.
<?php
###########################################################################################
# Enter your authentication details below:
###########################################################################################
require_once("lccs.php");
###########################################################################################
# Enter your authentication details below:
###########################################################################################
$account = "ICSACCOUNT";
$room = "ICSROOM";
$devusername = "ICS_EMAIL_LOGIN";
$devpassword = "ICS_PASSWORD";
$secret = "ICS SECRET KEY";
$host = "https://cloud.ics.influxis.com";
$accountURL = "{$host}/{$account}";
$roomURL = "{$accountURL}/{$room}";
###########################################################################################
# Create a session
###########################################################################################
session_start();
###########################################################################################
# Register Hook (Admin Code)
###########################################################################################
if(isSet($_session['RTCAccount'])) {
//login to lccs only require once
$lccs = unserialize($_SESSION['RTCAccount']);
$lccs->keepalive();
}
else {
// Login once, do the handshake once for your account and then call multiple API
$lccs = new RTCAccount($accountURL);
$lccs->login($devusername, $devpassword);
$_SESSION['RTCAccount'] = serialize($lccs);
}
$lccs->unregisterRepository();
$lccs->registerRepository("http://WEBDAVEUSER:WEBDAVPASSWORD@YOURWEBDAVSERVER/webdav/");
?>
Comments