JSON Object Example
{
    "Url": "http://streammedia.com/stream.asf",
    "Device_Id": 8692,
    "Id": 18026,
    "Task_Type_Id": 16,
    "Name": "media stream",
    "Timeout": 0
}

Fields Description

Field Type Required/Optional Description

Url

string

required

This field contains media URL.

POSSIBLE VALUES: applehttp, concat, crypto, file, gopher, hls, http, httpproxy, mms, pipe, rtmp, rtp, tcp, udp, rtsp, https.

Example:
"Url""rtsp://38.93.155.175:1934/live/cam"

Device_Id

int32

required

READ ONLY Field. Unique device id

Example:
"Device_Id": 8692

Id

int32

required

*Only for edit operations

READ ONLY Field. Unique task id.

Example:
"Id": 18016

Task_Type_Id

int32

required

Type of the task field.

Example:
"Task_Type_Id": 16

Name

string

optional

Task name

Example:
"Name"" media stream "

Timeout

int32

optional

This field defines maximum time value (in seconds) for task execution.

Example:
"Timeout": 100