Table of Contents
AddMedia
Adds a video file to the webcast administration for playback into the conference.
Example
Call=AddMedia
Parameters={“AccessID”:”1234abc”,”AccessKey”:”abcde”,”WebcastID”:”4660″,”Type”:”Video”}
https://www.domain.com/templates2.0/API/0.2/?Parameters={“AccessID”:”1234abc”,”AccessKey”:”abcde”,”WebcastID”:”4660″,”Type”:”Video”}&Call=AddMedia
A file must be posted with the API call, it must be form-data encoded with the name “MediaFile”.
The call must be submitted by POST due to the required file upload. The file needs to be further processed and will not be visible immediately in admin interface.
Example Return
{
“UploadResponse”: {
“Clip”: {
“aws_job_id”: “1605566195359-x6d6qu”,
“id”: “728”,
“webcast_id”: 4660,
“label”: “PhilipsCircle.mp4”,
“description”: “PhilipsCircle.mp4”,
“live”: 0,
“repeat_clip”: 0,
“stream”: null,
“upload_datetime”: “2020/11/17 09:36:34”
},
“S3Result”: {},
“success”: true,
“FileName”: “PhilipsCircle.mp4”,
“TempFileName”: “/tmp/phpv30Qqk”
},
“Type”: “Video”,
“WebcastID”: 4660
}