Recordings

Necessary Recordings

 

You can ask the following URL to get a JSON list of all recordings:

http://api.edudip.com/api2.php?action=getVideosToEvent

 

Parameter
Parameter Type Description
api-Key string The api key of your api solution.
eventsId string Unique event Id
Version string X.Y.Z
Result
Parameter Type Description
sessions array() Array of all recorded Sessions. Key is the SessionId (used for playback), value is an array with more information. Currently just the length of the video in milliseconds.
Formal definition: array(SessionId => array(‚length‘ => milliseconds))
[NEW in version 1.0.0]
sessionId array(string) All recorded sessions for this event.
[REMOVED in Version 1.0.0]
success bool false if there are no recordings available.
AddTime string ISO 8601 Date format [NEW in version 2.1.0]
EventsSeries_Id int Recorded EventsSeries_Id [NEW in version 2.1.0]
Rooms_Id int Recorded Rooms_Id [NEW in version 2.1.0]
Example
$url = 'http://api.edudip.com/api2.php';
 
$dataToSend = array(
	'api-Key' => 'EDUDIP_API_KEY',
	'eventsId' => 4004,
	'action' => $_REQUEST['action'],
	'Version' => '1.0.0'
);
 
if ($_REQUEST['video_session']) {
	$dataToSend['sessionId'] = $_REQUEST['video_session'];
}
 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $dataToSend);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = curl_exec($ch);
curl_close($ch);
 
echo $res;

 

Download

You can ask the following URL to get a JSON list of all video download URLs:

 http://api.edudip.com/api2.php?action=getVideoDownloadUrl

 

Parameter
Parameter Type Description
api-Key string The api key of your api solution. ADD LINK HERE!
eventsId string Unique event Id.
sessionId string Unique session Id.
Result
Parameter Type Description
Url string Download-Url of the video.
Success bool false if there are no recordings available.

Durch die weitere Nutzung der Seite stimmst du der Verwendung von Cookies zu. Weitere Informationen

Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.

Schließen