API Signature: POST http://{SignageIP}:9646/api/videocapture
The above API helps a client application bring the source of a webcam video stream onto the screen on a signage for a defined time interval.
API Body
{
"DeviceId": "\\\\?\\USB#VID_05AC&PID_8510&MI_00#7&1C1EDF39&0&0000#{e5323777-f976-4f5b-9b55-b94699c46e44}\\GLOBAL",
"Duration": 15,
"RenderTransform":
{
"ScaleX": 1.5,
"ScaleY": 1.5
}
}Field Descriptions
DeviceId - The unique ID of a webcam device.
Duration - The time interval the asset will be shown on the signage.
ContentOverride - Defines if the trigger should override the playback of another triggered content.
ContentRewind - Defines if the trigger should rewind the current playback on a device as long as the matching asset is currently playing.
RenderTransform.ScaleX - Sets the x-axis scale factor.
RenderTransform.ScaleY - Sets the y-axis scale factor.
API Response
Status Code - Message
201 - Created - Request received.
409 - Conflict - Signage is in real-time mode. Offline trigger requests cannot be processed.
409 - Conflict - Video capture device Id cannot be null or empty.
409 - Conflict - Video capture device cannot be found.
409 - Conflict - Duration must be 15,30,45 or 60 seconds.
