Download OpenAPI specification:Download
API for managing Live Streams in 5centsCDN
Contact Support: Email: help@5centscdn.com
list streams
Accept | string Example: application/json |
{- "result": "success",
- "streams": [
- {
- "type": "publish",
- "id": 50708,
- "serviceid": 103,
- "name": "flopsj/joy",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-30 19:10:27",
- "updated_at": "2024-11-30 19:10:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "flopsj",
- "sn": "joy",
- "full": "flopsjjoy"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "046cdfbfdace5c86a471729cb529b316.sdp",
- "publish": {
- "id": 50708,
- "type": "restream",
- "mode": "hls",
- "urls": [
- "www.google.com"
], - "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 1,
- "vprofiles": [
- "106257"
], - "aprofiles": [
- "106257"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 1,
- "countRaw": 1,
- "codec": "h264",
- "profiles": {
- "count": {
- "sd": 1,
- "total": 1
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 41865,
- "relid": 50708,
- "name": "Custom RTMP fopp",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
]
}
Create a Push stream
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string The unique name of the stream or resource. It must be between 4 to 32 characters long and follow the format 'string(4,32)/string(4,32)', e.g., 'hames/duple', 'philip/mope'. | ||||||||||
server | integer The server identifier for the streaming setup, typically representing the server's location. Examples: 20 (Singapore), 2 (Europe), 211 (North America), 209 (Oceania). | ||||||||||
codec | string The video codec used for encoding, which determines the compression and quality of the video. Examples include 'h264', 'vp8', and 'hevc'. | ||||||||||
protocols | Array of strings A list of supported streaming protocols, which define how the stream is delivered. Examples include 'RTMP', 'RTSP', 'HLS', and 'DASH'. | ||||||||||
object Settings for restricting stream access to specific domains. | |||||||||||
| |||||||||||
object Settings for restricting access based on geographic locations. | |||||||||||
| |||||||||||
object Settings for limiting or granting stream access based on IPs. | |||||||||||
| |||||||||||
vprofiles | Array of integers An array of unique IDs representing video profiles for encoding. Example IDs include 14931, 14937. | ||||||||||
aprofiles | Array of integers An array of unique IDs representing audio profiles for encoding. Example IDs include 14931. | ||||||||||
filters | Array of integers An array of unique IDs representing filters applied to the stream. Example IDs include 3, 4. | ||||||||||
_METHOD | string Specifies the HTTP method for the request. Example values include 'GET', 'POST', 'PUT', and 'DELETE'. | ||||||||||
draft | integer Indicates draft mode status. Use 0 for disabled and 1 for enabled. E.g., 0. |
{- "name": "kola/deloa",
- "server": 209,
- "codec": "h264",
- "protocols": [
- "RTMP",
- "RTSP",
- "DASH"
], - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "www.google.com",
- "www.example.com"
], - "noreferer": "Y",
- "ips": [
- "1.1.1.1",
- "2.2.2.2"
]
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": [
- "1.1.1.1",
- "2.2.2.2"
]
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "8.8.8.8",
- "9.9.9.9"
], - "ips": [
- "1.1.1.1",
- "2.2.2.2"
]
}, - "vprofiles": [
- 14931,
- 14937
], - "aprofiles": [
- 14931
], - "filters": [
- 3,
- 4
], - "_METHOD": "PUT",
- "draft": 0
}
{- "result": "success",
- "message": "Stream Created",
- "stream": {
- "type": "push",
- "id": 52534,
- "serviceid": 103,
- "name": "kola78/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-10 13:51:50",
- "updated_at": "2025-01-10 13:51:50",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": "{...}"
}, - "parts": {
- "pp": "kola78",
- "sn": "deloa",
- "full": "kola78deloa"
}, - "restream": "{ }",
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola78/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola78/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": "{...}",
- "tokenized": null
}
}, - "warnings": null,
- "errors": null
}
push list
page | integer Example: page=1 Page Number |
Accept | string Example: application/json |
{- "result": "success",
- "streams": {
- "type": "push",
- "id": 52534,
- "serviceid": 103,
- "name": "kola78/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-10 13:51:50",
- "updated_at": "2025-01-10 13:51:50",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": "{...}"
}, - "parts": {
- "pp": "kola78",
- "sn": "deloa",
- "full": "kola78deloa"
}, - "restream": "{ }",
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola78/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola78/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": "{...}",
- "tokenized": null
}
}
}
Returns the details of a push stream statistics
streamid required | integer Example: 51605 (Required) Stream ID |
Accept | string Example: application/json |
{- "transcode": {
- "fst": {
- "name": "kola/fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "status": "Dead",
- "bitrate": "1000kbps",
- "fps": "30",
- "time": "00:02:15",
- "cpu": "50%",
- "mem": "1.2GB",
- "speed": "1.5x",
- "log": "rtmp://el01-5-normal.cdnized.com/kola/deloa: Input/output error\\n",
- "video": [
- "h264",
- "mp4"
], - "audio": [
- "aac",
- "mp3"
]
}
}, - "platform": [
- {
- "id": 42086,
- "time": 0,
- "bitrate": "1000kbps",
- "fps": "30",
- "cpu": "40%",
- "mem": "1.5GB",
- "log": "rtmp://el01-5-normal.cdnized.com/kola/deloa: Input/output error\n"
}
], - "fs": {
- "name": "kola/fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "status": "Dead",
- "bitrate": "1000kbps",
- "fps": "30",
- "time": "00:02:15",
- "cpu": "50%",
- "mem": "1.2GB",
- "speed": "1.5x",
- "log": "rtmp://el01-5-normal.cdnized.com/kola/deloa: Input/output error\n",
- "video": [
- "h264",
- "mp4"
], - "audio": [
- "aac",
- "mp3"
]
}, - "status": "Enabled",
- "lastseen": 1626784500
}
Update status of stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Delete the information of push stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | string Example: <string> (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream deleted successfully."
}
Update the information of push stream
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
server | string
|
codec | string
|
draft | number
|
{- "server": "209",
- "codec": "h264",
- "draft": 0
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Returns the details of a push stream
streamid required | string Example: <string> (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update the platform of a push stream
streamid required | string Example: <string> (Required) Stream ID |
platformid required | string Example: <string> (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
object
| |||||||||||||||||||||||||||
|
{- "platform": {
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "vprofiles": 0,
- "aprofiles": 0,
- "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "provider_id": 0,
- "video_id": ""
}
}
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Delete the Platform of push stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | string Example: <string> (Required) Stream ID |
platformid required | string Example: <string> (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Status the platform of a push stream
streamid required | string Example: <string> (Required) Stream ID |
platformid required | string Example: <string> (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | integer
|
{- "disabled": 0
}
{- "result": "success",
- "message": "Platform enabled"
}
Restart the platform of a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
platformid required | integer Example: 42086 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Restarted"
}
Add the platform of a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
Array of objects
| |||||||||||||||||||||||||||||
Array
|
{- "platform": [
- {
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- 3,
- 4
], - "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "length": 40
}
]
}
{- "result": "success",
- "message": "Platform Created",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "33"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Restart a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restarted"
}
Restore a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "30"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update RTMPAuth of push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
username | string
|
password | string
|
{- "enabled": "Y",
- "username": "admin",
- "password": "password"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update secure token of a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "F",
- "list": "9d0c4b0e30cde228",
- "timeout": "3600",
- "session": "0",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update the geoblock of a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | array of strings
|
ips | string
|
{- "enabled": "'Y'",
- "policy": "'N'",
- "list": "['GB', 'US']",
- "ips": "'1.1.1.1, 2.2.2.2'"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update the domainlock of a publish stream
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
ips | string
|
noreferer | string
|
{- "enabled": "'Y'",
- "policy": "'N'",
- "list": "'www.google.com,www.example.com'",
- "ips": "'1.1.1.1, 2.2.2.2'",
- "noreferer": "'Y'"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update the transcode of a push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
ltc | string
|
vprofiles | Array of arrays
|
aprofiles | Array of arrays
|
filters | Array of arrays
|
{- "ltc": "'2'",
- "vprofiles": "[106257, 109713]",
- "aprofiles": "[0]",
- "filters": "[3, 4]"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Update the source of a Push stream
streamid required | integer Example: 51605 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
server | string The server identifier where the stream is hosted, typically representing the server's location. Examples: 20 (Singapore), 2 (Europe), 211 (North America), 209 (Oceania). |
{- "server": "'209'"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "push",
- "id": 51605,
- "serviceid": 103,
- "name": "kola/deloa",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 02:57:15",
- "updated_at": "2024-12-30 03:36:27",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 1,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "kola",
- "sn": "deloa",
- "full": "koladeloa"
}, - "restream": { },
- "playbackurls": {
- "scheme": "http",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/kola/deloa",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/kola/deloa",
- "hlsManifest": "playlist_dvr.m3u8",
- "dashManifest": "manifest_dvr.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "hash": "4vwupwi1g6ecej9r",
- "base64": "aHR0cDovL2V4YW1wbGUuY29tL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cDovL2V4YW1wbGUuY29tL21hbmlmZXN0Lm1wZA=="
}, - "baseQ": "?showcv=true&title=kola/deloa",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": false,
- "hash": "fa7d3f6b626222cd40d75e09ec026da1.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "F",
- "keyip": "Y",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": null
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "GB",
- "US"
], - "ips": "1.1.1.1,2.2.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "8.8.8.8,9.9.9.9",
- "ips": "1.1.1.1",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Array",
- "ips": "1.1.1.1",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "passsword",
- "active": "N"
}, - "transcode": {
- "id": 51605,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42086,
- "relid": 51605,
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied.\n - Examples include 'sd' for standard definition or 'hd' for high definition.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates if transcoding is enabled.\n - True means enabled, false means disabled.\n - Example values include true or false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - True means they can be modified, false means they are fixed.\n - Example values include true or false.",
- "example": true
}
}
}
]
}
}
Return the list of servers of push stream
Accept | string Example: application/json |
{- "result": "'success'",
- "servers": "{\n 'mediaservers': { ... } \n}",
- "mediaservers": "{\n '04': { ... },\n '02': { ... },\n '03': { ... },\n '05': { ... },\n '01': { ... }\n}",
- "04": "{\n 'code': 209,\n 'codeArr': ['209'],\n 'ipaddress': '51.161.197.142',\n 'name': 'Oceania'\n}",
- "code": "209",
- "codeArr": "['209']",
- "ipaddress": "'51.161.197.142'",
- "name": "'Oceania'",
- "02": "{\n 'code': '11,211',\n 'codeArr': ['11', '211'],\n 'ipaddress': '148.113.152.95,148.113.152.96',\n 'name': 'North America'\n}",
- "03": "{\n 'code': 2,\n 'codeArr': ['2'],\n 'ipaddress': '51.210.214.151',\n 'name': 'Europe'\n}",
- "05": "{\n 'code': 212,\n 'codeArr': ['212'],\n 'ipaddress': '148.113.1.171',\n 'name': 'India'\n}",
- "01": "{\n 'code': 20,\n 'codeArr': ['20'],\n 'ipaddress': '139.99.121.140',\n 'name': 'Singapore'\n}"
}
pull streams list
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "success",
- "streams": [
- {
- "type": "restream",
- "id": 50591,
- "serviceid": 103,
- "name": "spst/spst",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": null,
- "server": "212",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-20 04:23:35",
- "updated_at": "2024-12-30 11:31:57",
- "lastseen_at": "2024-12-30 12:26:09",
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "spst",
- "sn": "spst",
- "full": "spstspst"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "f35780fabc7ac3f1a9e5d599645950ce.sdp",
- "ndvr": {
- "enabled": "N",
- "retention": "33"
}, - "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "70bc472ed6273383",
- "timeout": 60,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "N"
}, - "record": {
- "enabled": {
- "type": "string",
- "description": "- Whether recording is enabled for the stream.\n - 'Y' for enabled, 'N' for disabled.",
- "example": "N"
}, - "retention": {
- "type": "string",
- "description": "- The number of days to retain the recorded content.\n - Example: '14' means recorded content is kept for 14 days.",
- "example": "14"
}, - "stream": {
- "type": "null",
- "description": "- The stream to be recorded.\n - Set to null if no stream is being recorded.",
- "example": null
}
}, - "domainlock": {
- "enabled": {
- "type": "string",
- "description": "- Whether domain locking is enabled.\n - 'Y' means enabled, 'N' means disabled.",
- "example": "N"
}, - "policy": {
- "type": "string",
- "description": "- Defines the domain lock policy.\n - Example: 'N' could mean no domain restrictions are applied.",
- "example": "N"
}, - "list": {
- "type": "string",
- "description": "- A list of allowed or restricted domains.\n - Example: 'www.test.com', Empty string '' means no specific domains are configured.",
- "example": "www.test.com"
}, - "ips": {
- "type": "string",
- "description": "- A list of IP addresses related to domain lock.\n - Example: '1.1.1.1, 2.2.2.2',Empty string '' means no specific IP restrictions.",
- "example": "1.1.1.1, 2.2.2.2"
}, - "noreferer": {
- "type": "string",
- "description": "- Defines whether referrer restrictions are applied.\n - 'Y' means referer restrictions are active, 'N' means they are not.",
- "example": "N"
}, - "active": {
- "type": "string",
- "description": "- Indicates whether the domain lock feature is active.\n - 'Y' means active, 'N' means inactive.",
- "example": "N"
}
}, - "geoblock": {
- "enabled": {
- "type": "string",
- "description": "- Whether geoblocking is enabled.\n - 'Y' for enabled, 'N' for disabled.",
- "example": "N"
}, - "policy": {
- "type": "string",
- "description": "- Defines the policy for geoblocking.\n - 'Y' could mean content is blocked in certain regions, and 'N' means it's accessible from everywhere.",
- "example": "Y"
}, - "list": {
- "type": "array",
- "description": "- A list of countries or regions to apply geoblocking.\n - Example: 'UK',Empty list means no geoblocking is configured.",
- "example": [
- "UK"
]
}, - "ips": {
- "type": "string",
- "description": "- A list of IP addresses related to geoblocking.\n - Example: '1.1.1.1,2.2.2.2',Empty string '' means no specific IP restrictions.",
- "example": "1.1.1.1,2.2.2.2"
}, - "active": {
- "type": "string",
- "description": "- Indicates whether geoblocking is active.\n - 'Y' means active, 'N' means inactive.",
- "example": "N"
}
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.1.2",
- "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "Chrome, Firefox",
- "ips": "192.168.1.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "rtmpauth": {
- "password": "secret1234",
- "active": "N"
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42020,
- "relid": 50591,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "user123",
- "password": "secret1234",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "janamtv_video",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding being applied.\n - 'sd' refers to standard definition transcoding.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Whether transcoding is enabled or not.\n - 'true' means enabled, 'false' means disabled.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited.\n - 'true' means editable, 'false' means not editable.",
- "example": true
}
}
}
]
}
]
}
Create a restream
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||||||||||||||||||||||||||||||||
codec | string
| ||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
audiofix | string
| ||||||||||||||||||||||||||||||||
restreamtype | string
| ||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
object
| |||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
vprofiles | Array of arrays
| ||||||||||||||||||||||||||||||||
aprofiles | Array of arrays
| ||||||||||||||||||||||||||||||||
filters | Array of arrays
| ||||||||||||||||||||||||||||||||
_METHOD | string
| ||||||||||||||||||||||||||||||||
draft | integer
| ||||||||||||||||||||||||||||||||
platformtype | string
| ||||||||||||||||||||||||||||||||
Array of objects
| |||||||||||||||||||||||||||||||||
Array
|
{- "name": "otilor/dongo",
- "codec": "h264",
- "server": {
- "mediaserver": 209
}, - "mode": {
- "mediaserver": "hls"
}, - "audiofix": "Y",
- "restreamtype": "mediaserver",
- "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "noreferer": "Y",
- "ips": "2.2.2.2,1.1.1.1"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome;;;firefox;;;hh;;;eferf;;;",
- "casesensitive": "Y",
- "ips": "2.2.2.2,1.1.1.1"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": 1,
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}, - "ndvr": {
- "enabled": "Y",
- "retention": 180
}, - "record": {
- "enabled": "Y",
- "retention": 14
}, - "vprofiles": [
- 14931,
- 14937
], - "aprofiles": [
- 14931
], - "filters": [
- 3,
- 4
], - "_METHOD": "PUT",
- "draft": 0,
- "platformtype": "",
- "platform": [
- {
- "id": 42020,
- "relid": 50591,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding.\n - Example: 'sd' means standard definition transcoding.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Whether transcoding is enabled.\n - Example: 'false' means transcoding is not active.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates if the transcoding settings are editable.\n - Example: 'true' means the settings can be changed.",
- "example": true
}
}
}
]
}
{- "result": "success",
- "message": "Stream Created",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Returns the details of a pull stream statistics
streamid required | integer Example: 51642 (Required) Stream ID |
Accept | string Example: application/json |
{- "fs": {
- "name": "spst/spst",
- "status": "Alive",
- "bitrate": "1287.99kbps",
- "primary": true,
- "time": "20088d 02:35:11",
- "publish_time": "2 hours ago",
- "publisher_ip": "192.168.1.1",
- "video": {
- "size": "1172x720",
- "bitrate": "1094.79kbps",
- "codec": "avc1.4d401f",
- "profile": "-",
- "level": "4.1"
}, - "audio": {
- "codec": "mp4a.40.2",
- "bitrate": "193.2kbps"
}
}, - "platform": [
- {
- "id": 42020,
- "time": 0,
- "bitrate": "",
- "fps": "",
- "cpu": "",
- "mem": "",
- "log": "[flv @ 0x562a0ae733c0] Failed to update header with correct duration.\n[flv @ 0x562a0ae733c0] Failed to update header with correct filesize."
}
], - "status": "Enabled",
- "lastseen": "11 seconds ago"
}
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
restreamtype | string
| ||
object
| |||
| |||
object
| |||
| |||
object
| |||
| |||
audiofix | string
|
{- "restreamtype": "mediaserver",
- "server": {
- "mediaserver": "206"
}, - "mode": {
- "mediaserver": "hls"
}, - "audiofix": "Y"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Update domain lock of a restream
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
noreferer | string
|
active | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "noreferer": "Y",
- "active": "2.2.2.2,1.1.1.1"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Update secure token of a restream
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "D",
- "list": "0d35310bbeb61af1",
- "timeout": "14583",
- "session": "1",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of arrays
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Update DVR of a restream
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "14"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Restore a restream
streamid required | integer Example: 51642 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Update the transcode of a pull stream
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
ltc | string
|
vprofiles | array of strings
|
aprofiles | array of integers
|
filters | array of integers
|
{- "ltc": "2",
- "vprofiles": [
- "106257",
- "109713"
], - "aprofiles": [
- 0
], - "filters": [
- 3,
- 4
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "14"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Add the platform of a pull stream
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
Array of objects
| |||||||||||||||||||||||||||||
Array
|
{- "platform": [
- {
- "name": "Custom RTMP",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "streamkey123",
- "auth": "Y",
- "username": "streamadmin",
- "password": "securepassword123",
- "ltc": 2,
- "vprofiles": 106257,
- "aprofiles": 109713,
- "filters": [
- 3,
- 4
], - "schedule": "timed",
- "scheduleontime": "14:00",
- "scheduleondatetime": "2025-01-15T14:00:00Z",
- "length": "01:30"
}
]
}
{- "result": "success",
- "message": "Platform Created",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Restart the platform of a pull stream
streamid required | integer Example: 51642 (Required) Stream ID |
platformid required | integer Example: 42107 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Restarted"
}
Status the platform of a pull stream
streamid required | integer Example: 51642 (Required) Stream ID |
platformid required | integer Example: 42107 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | any |
{- "disabled": null
}
{- "result": "success",
- "message": "Platform enabled"
}
Update the platform of a pull stream
streamid required | integer Example: 51642 (Required) Stream ID |
platformid required | integer Example: 42107 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
Array of objects
| |||||||||||||||||||||||||||||||||
Array
|
{- "platform": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "admin",
- "password": "password123",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Delete the Platform of pull stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51642 (Required) Stream ID |
platformid required | integer Example: 42107 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Return the details of a restream
streamid required | integer Example: 51642 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Update information of a restream
streamid required | integer Example: 51642 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
codec | string
|
draft | string
|
platformtype | string
|
protocols | Array of arrays
|
{- "codec": "h264",
- "draft": "0",
- "platformtype": "RTMP",
- "protocols": [
- "RTMP",
- "RTSP",
- "DASH",
- "HLS_FMP4"
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Delete information of a restream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51642 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
Return the list of servers of pull stream
Accept | string Example: application/json |
{- "result": "success",
- "servers": {
- "mediaservers": {
- "type": "object",
- "description": "- A set of servers related to media streaming.\n - These servers are named and categorized by geographical region.\n - Each server has a code, IP address, and name.\n - Example value:\n - '04': Server in Oceania with code '209', IP address '51.161.197.142'.",
- "example": {
- "04": {
- "type": "object",
- "description": "- Media server in the Oceania region.\n - Contains details about the server's code, IP address, and name.\n - Example values:\n - 'code': 209, 'ipaddress': '51.161.197.142', 'name': 'Oceania'.",
- "example": {
- "code": "209",
- "codeArr": [
- "209"
], - "ipaddress": "51.161.197.142",
- "name": "Oceania"
}
}, - "02": {
- "type": "object",
- "description": "- Media server in the North America region.\n - Has a set of IPs and a name for easy identification.\n - Example values:\n - 'code': '11,211', 'ipaddress': '148.113.152.95,148.113.152.96', 'name': 'North America'.",
- "example": {
- "code": "11,211",
- "codeArr": [
- "11",
- "211"
], - "ipaddress": "148.113.152.95,148.113.152.96",
- "name": "North America"
}
}
}
}, - "ffmpegservers": {
- "type": "array",
- "description": "- A list of FFmpeg servers, each used for transcoding or encoding tasks.\n - These servers are identified by their code and location.\n - Example values:\n - ['ams3']: Server in Amsterdam, Netherlands.\n - ['nyc3']: Server in New York, United States.",
- "example": [
- {
- "code": "ams3",
- "group": "Europe",
- "name": "Amsterdam, Netherlands"
}, - {
- "code": "lon1",
- "group": "Europe",
- "name": "London, United Kingdom"
}
]
}
}
}
streamid required | integer Example: 54214 |
disabled | integer
|
{- "disabled": 0
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "restream",
- "id": 51642,
- "serviceid": 103,
- "name": "otilor/dongo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": "12345",
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-12-30 15:09:56",
- "updated_at": "2024-12-30 15:09:56",
- "lastseen_at": false,
- "deleted": "2024-12-25 12:00:00",
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "otilor",
- "sn": "dongo",
- "full": "otilordongo"
}, - "restream": {
- "type": "mediaserver",
- "mode": "hls",
- "staticip": "N",
- "audiofix": "N",
- "server": {
- "country": "India"
}
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/spst/spst",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/spst/spst",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "59vul2i1o12hrl9q",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9wbGF5bGlzdC5tM3U4",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9zcHN0L2YzNTc4MGZhYmM3YWMzZjFhOWU1ZDU5OTY0NTk1MGNlLnNkcC9tYW5pZmVzdC5tcGQ="
}
}, - "baseQ": "?showcv=true&title=spst/spst",
}
}
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "0aea7e5c6c7fe6373ab26c7f593c2600.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "180"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "Y",
- "list": "0d35310bbeb61af1",
- "timeout": 14583,
- "session": "1",
- "ips": "1.1.1.1,2.2.2.2",
- "dirs": null,
- "active": "Y"
}, - "record": {
- "enabled": "Y",
- "retention": "14",
- "stream": {
- "id": 51643,
- "type": "record"
}
}, - "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": "happyhut.cloud,draftss.com,amazon.in",
- "ips": "2.2.2.2,1.1.1.1",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": "8.8.8.8,2.2.2.2",
- "ips": "1.1.1.1,3.3.3.3",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome,firefox,hh,eferf,",
- "ips": "1.1.1.1,3.3.3.3",
- "casesensitive": "Y",
- "active": "Y",
- "listArr": [
- "chrome",
- "firefox",
- "hh",
- "eferf",
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "id": 51642,
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source' profile cannot be enabled when filters are active."
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": "h264",
- "profiles": {
- "count": {
- "total": {
- "type": "integer",
- "description": "- The total number of profiles available.\n - Example values: 0, 5.",
- "example": 0
}
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42096,
- "relid": 51642,
- "name": "rtmp",
- "rtmp": "rtmp://fms-01-02.5centscdn.com/janamtv",
- "key": "live",
- "auth": "N",
- "username": "",
- "password": "",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": {
- "type": "string",
- "description": "- The type of transcoding applied to the stream on this platform.\n - Example values: 'sd', 'hd'.",
- "example": "sd"
}, - "enabled": {
- "type": "boolean",
- "description": "- Indicates whether transcoding is enabled for the platform.\n - True means enabled; false means disabled.\n - Example values: true, false.",
- "example": false
}, - "isEditable": {
- "type": "boolean",
- "description": "- Indicates whether the transcoding settings can be edited for the platform.\n - True means editable; false means not editable.\n - Example values: true, false.",
- "example": true
}
}
}
]
}
}
List Multi Bitrate Push streams
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "success",
- "streams": [
- {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
]
}
Create a new ABR stream
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||||||||||||||
server | integer
| ||||||||||||||
codec | string
| ||||||||||||||
parentid | integer
| ||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
object
| |||||||||||||||
| |||||||||||||||
_METHOD | string
| ||||||||||||||
draft | integer
| ||||||||||||||
platformtype | string
|
{- "name": "james/take",
- "server": 209,
- "codec": "h264",
- "parentid": 3,
- "domainlock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "happyhut.cloud",
- "draftss.com",
- "amazon.in"
], - "noreferer": "Y",
- "ips": [
- "2.2.2.2",
- "1.1.1.1"
]
}, - "geoblock": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": [
- "2.2.2.2",
- "1.1.1.1"
]
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "N",
- "list": [
- "8.8.8.8",
- "2.2.2.2"
], - "ips": [
- "1.1.1.1",
- "3.3.3.3"
]
}, - "useragent": {
- "enabled": "Y",
- "policy": "N",
- "list": "chrome;;;firefox;;;hh;;;eferf;;;",
- "casesensitive": "Y",
- "ips": [
- "2.2.2.2",
- "1.1.1.1"
]
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "list": [
- "0d35310bbeb61af1"
], - "timeout": 14583,
- "session": 1,
- "keyip": "Y",
- "ips": [
- "1.1.1.1",
- "2.2.2.2"
]
}, - "ndvr": {
- "enabled": "Y",
- "retention": 180
}, - "record": {
- "enabled": "Y",
- "retention": 14
}, - "_METHOD": "PUT",
- "draft": 0,
- "platformtype": ""
}
{- "result": "success",
- "message": "Stream Created",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update status of stream
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update Geoblock of ABR
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of arrays
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "BS",
- "CL"
], - "ips": "2.2.2.2,1.1.1.1"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
noreferer | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": "www.google.com,www.test.com",
- "noreferer": "Y",
- "ips": "2.2.2.2,1.1.1.1"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update RTMP auth of ABR
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
username | string
|
password | string
|
{- "enabled": "Y",
- "username": "username",
- "password": "password"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update Record ABR
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "30"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update Ndvr ABR
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
{- "enabled": "Y",
- "retention": "14"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Restore ABR Stream
streamid required | integer Example: 51691 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Delete information of ABR stream.To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51691 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream deleted successfully."
}
Returns the details of an abr stream
streamid required | integer Example: 54216 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update information of ABR stream.
streamid required | integer Example: 51691 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
draft | string
|
platformtype | string
|
server | string
|
codec | string
|
parentid | string
|
protocols | Array of arrays
|
{- "draft": "0",
- "platformtype": "",
- "server": "209",
- "codec": "h264",
- "parentid": "3",
- "protocols": [
- "DASH",
- "HLS"
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "abr",
- "id": 50640,
- "serviceid": 103,
- "name": "abr/demo",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "DASH",
- "HLS"
]
], - "parentid": 3,
- "server": "2",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2024-11-25 07:47:20",
- "updated_at": "2024-12-05 12:09:52",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Enabled",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 1,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Europe",
- "meta": {
- "fmsUrl": "rtmp://fms-03-01.5centscdn.com"
}
}
}, - "abr": {
- "streams": 5,
- "hashes": {
- "1": "2937cb10df56f146bbdae5e35dfd818c.sdp",
- "2": "19ecb8593313960d56c2d6bafb04514e.sdp",
- "3": "0ab6a808c042b3c006c92b12ba2f61e9.sdp",
- "4": "151a5883a93f9b1b7f67dd7aea7a8f98.sdp",
- "5": "3e617d86bc2ea68c497717364b5232a8.sdp"
}
}, - "parts": {
- "pp": "abr",
- "sn": "demo",
- "full": "abrdemo"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "",
- "rtsp": "",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "videojs": {
- "baseQ": "",
- "rtmp": "",
- "rtsp": "",
- "hds": ""
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": "?showcv=true&title=abr/demo",
}
}, - "tokenized": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/abr/demo",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/abr/demo",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "hostname": "iframes.5centscdn.com",
- "flowplayer": {
- "baseQ": "",
}, - "videojs": {
- "baseQ": "",
}, - "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cd6g0a6962",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL3BsYXlsaXN0Lm0zdTg=",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS9hYnIvYTEzY2RmYWYzODI5YWJjZTk4YTQzYjJiMDg0MTVkMGUuc2RwL21hbmlmZXN0Lm1wZA=="
}
}, - "baseQ": ""
}
}
},
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "a13cdfaf3829abce98a43b2b08415d0e.sdp",
- "ndvr": {
- "enabled": "Y",
- "retention": "33"
}, - "securetoken": {
- "enabled": "Y",
- "policy": "D",
- "keyip": "N",
- "list": "bfe14025597eb630",
- "timeout": 600,
- "session": "1",
- "ips": "192.168.0.1, 192.168.0.2",
- "dirs": "/videos, /images",
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, mysite.com",
- "ips": "192.168.0.1, 192.168.0.2",
- "noreferer": "N",
- "active": "Y"
}, - "geoblock": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "USA",
- "Canada"
], - "ips": "192.168.1.1, 10.0.0.1",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "192.168.1.1",
- "10.0.0.1"
], - "ips": "192.168.1.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": [
- "Chrome",
- "Firefox"
], - "ips": "192.168.1.1, 10.0.0.1",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla",
- "Safari"
]
}, - "rtmpauth": {
- "password": "secret123",
- "active": "Y"
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
List DVR streams
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "success",
- "streams": [
- {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
]
}
Update status of stream
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update Domainlock of a record stream
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
ips | string
|
noreferer | string
|
{- "enabled": "Y",
- "policy": "Y",
- "list": "www.google.com,www.test.com",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update Secure token of record stream.
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "F",
- "list": "ea747727c5ec8e7d",
- "timeout": "3600",
- "session": "0",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update geo block of record stream
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of arrays
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "AL"
], - "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update DVR Export of record stream
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
zoneid | string
|
folder | string
|
filename | string
|
start | string
|
end | string
|
{- "zoneid": "1616",
- "folder": "/test",
- "filename": "name-start-end",
- "start": "1735513200",
- "end": "1735531200"
}
{- "zoneid": "1616",
- "folder": "/test",
- "filename": "name-start-end",
- "start": "1735513200",
- "end": "1735531200",
- "result": "error",
}
Update DVR Auto Export of record stream
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
period | string
|
zoneid | string
|
folder | string
|
filename | string
|
{- "disabled": "0",
- "period": "30",
- "zoneid": "1616",
- "folder": "/",
- "filename": "name-start-end"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Restore record stream
streamid required | integer Example: 51738 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Restart record stream
streamid required | integer Example: 51738 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restarted"
}
Return the details of a DVR stream.
streamid required | integer Example: 51738 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Update information of a record stream.
streamid required | integer Example: 51738 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
draft | string
|
platformtype | string
|
protocols | Array of arrays
|
{- "draft": "0",
- "platformtype": "",
- "protocols": [
- "DASH",
- "HLS"
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
Delete information of a record stream.
streamid required | integer Example: 51738 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "record",
- "id": 51738,
- "serviceid": 103,
- "name": "jndsl_rec/sdmkp",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 51737,
- "server": "1",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-02 11:23:40",
- "updated_at": "2025-01-02 11:23:40",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": false
}, - "parts": {
- "pp": "jndsl_rec",
- "sn": "sdmkp",
- "full": "jndsl_recsdmkp"
}, - "parent": {
- "id": 51737,
- "name": "jndsl/sdmkp",
- "codec": "h264",
- "stype": "push",
- "rtmpauth": "Y",
- "type": "stream"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/jndsl_rec/sdmkp",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/jndsl_rec/sdmkp",
- "hlsManifest": "playlist_dvr_range-<EPOCH_FROM>-<LENGTH>.m3u8",
- "dashManifest": "manifest_dvr_range-<EPOCH_FROM>-<LENGTH>.mpd",
- "players": {
- "flowplayer": null
}, - "tokenized": null
}, - "platformsCount": 0,
- "ssl_enabled": true,
- "hash": "7409143ba2af48bdd410379ffdf9a12c.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "F",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": 0,
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "dvr_enabled": "N",
- "autoexport": {
- "disabled": 1
}, - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- ""
], - "ips": "",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "Y",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}, - "platforms": [ ]
}
}
List Delayed streams
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "'success'",
- "streams": [
- {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
]
}
Delete informations of a delayed stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51730 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream deleted"
}
Update informations of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
draft | string
|
platformtype | string
|
timeshift | string
|
{- "draft": "0",
- "platformtype": "web",
- "timeshift": "31553"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Return Delayed streams
streamid required | string Example: <string> (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Delete the Platform of delayed stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51730 (Required) Stream ID |
platformid required | integer Example: 42118 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Update the platform of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
platformid required | integer Example: 42117 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
platform | object
|
{- "platform": { }
}
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Status the platform of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
platformid required | integer Example: 42117 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | integer
|
{- "disabled": 0
}
{- "result": "success",
- "message": "Platform enabled"
}
Restart the platform of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
platformid required | integer Example: 42117 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Restarted"
}
Add the platform of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
object
| |||||||||||||||||||||||||||||
|
{- "platform": {
- "name": "Custom RTMP Playlist",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- 3,
- 4
], - "schedule": "instant",
- "scheduleontime": "14:00",
- "scheduleondatetime": "2025-12-25T14:00:00",
- "length": 40
}
}
{- "result": "success",
- "message": "Platform Created",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Restart Delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restarted"
}
Restore Delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Update domainlock of a delayed stream.
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
noreferer | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "Y",
- "list": "www.google.com,www.example.com",
- "noreferer": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Update Geo block of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of arrays
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- "AF",
- "AL"
], - "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Update secure token of a delayed stream
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": "d6bc2b66a1e5515e",
- "timeout": "3600",
- "session": "0",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Update status of stream
streamid required | integer Example: 51730 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "'timeshift'",
- "id": 51730,
- "serviceid": 103,
- "name": "'james_ts/take_dnskl'",
- "codec": "'h264'",
- "protocols": "[['DASH', 'HLS'], ['HLS']]",
- "parentid": 51691,
- "server": "'1'",
- "backup": "''",
- "draft": "'0'",
- "disabled": "'0'",
- "created_at": "'2025-01-02 10:28:59'",
- "updated_at": "'2025-01-02 12:58:10'",
- "lastseen_at": "false",
- "deleted": "null",
- "protocolsLock": 1,
- "status": "'Enabled'",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": true
}, - "parts": {
- "pp": "james_ts",
- "sn": "take_dnskl",
- "full": "james_tstake_dnskl"
}, - "parent": {
- "id": 51691,
- "name": "james/take",
- "codec": "h264",
- "stype": "abr",
- "rtmpauth": "Y"
}, - "restream": { },
- "timeshift": {
- "shift": 31553,
- "type": "stream"
}, - "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://example.com/live/stream",
- "rtsp": "rtsp://example.com/live",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "flowplayer": {
- "base": null,
- "hls": null
}, - "videojs": {
- "base": null,
- "hls": null
}
}, - "tokenized": null
}, - "platformsCount": 3,
- "ssl_enabled": true,
- "hash": "2f226363e22968551618bc4f372cecc2.sdp",
- "securetoken": {
- "enabled": "Y",
- "policy": "S",
- "keyip": "Y",
- "list": "token1, token2",
- "timeout": 3600,
- "session": "1",
- "ips": "192.168.1.1, 192.168.2.2",
- "dirs": null,
- "active": "Y"
}, - "domainlock": {
- "enabled": "Y",
- "policy": "Y",
- "list": "example.com, allowed.com",
- "ips": "192.168.1.1, 192.168.2.2",
- "noreferer": "Y",
- "active": "Y"
}, - "geoblock": {
- "enabled": "Y",
- "policy": "Y",
- "list": [
- "US",
- "CA"
], - "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "ipaccess": {
- "enabled": "Y",
- "policy": "Y",
- "list": "192.168.1.1, 192.168.2.2",
- "ips": "192.168.1.1, 192.168.2.2",
- "active": "Y"
}, - "useragent": {
- "enabled": "Y",
- "policy": "Y",
- "list": "Mozilla, Chrome",
- "ips": "192.168.1.1, 192.168.1.2",
- "casesensitive": "N",
- "active": "Y",
- "listArr": [
- "Mozilla/5.0",
- "Chrome/91.0"
]
}, - "transcode": {
- "type": "hd",
- "enabled": true,
- "isEditable": true
}, - "platforms": [
- {
- "id": 42117,
- "relid": 51730,
- "name": "Custom RTMP Flyer",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": "2025-01-14T12:00:00Z",
- "length": "00:30",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "abc123",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
scheduledplaylist.
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "'success'",
- "streams": [
- {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
]
}
Return details of the stream playlist statistics
streamid required | integer Example: 51730 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stats": {
- "name": "103_push_4417_001rr",
- "status": "active",
- "now_playing": "sample2.mp4",
- "now_playing_playlist": "default"
}
}
Update secure token of a scheduled playlist.
streamid required | integer Example: 50784 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
{- "enabled": "Y",
- "policy": "D",
- "list": "1a0f3ac765ff6ec8",
- "timeout": "3600",
- "session": "0",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update RTMP auth of a scheduled playlist.
streamid required | integer Example: 50784 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
username | string
|
password | string
|
{- "enabled": "true",
- "username": "john_doe",
- "password": "password123"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update geoblock of scheduled playlist
streamid required | integer Example: 50784 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of strings
|
ips | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- [
- "AF",
- "DZ"
]
], - "ips": "1.1.1.1,2.2.2.2"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update domain lock of scheduled playlist.
streamid required | integer Example: 50784 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
ips | string
|
noreferer | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": "www.google.com,www.test.com",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update the transcode of a scheduled stream
streamid required | integer Example: 50784 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
ltc | string
|
vprofiles | Array of strings
|
aprofiles | Array of strings
|
filters | Array of strings
|
{- "ltc": "1",
- "vprofiles": [
- "106257",
- "106256"
], - "aprofiles": [
- "106257"
], - "filters": [
- "3",
- "4"
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Restore a scheduled playlist
streamid required | integer Example: 50784 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Create new scheduled playlist
Content-Type | string Example: application/json |
Accept | string Example: application/json |
notused | Array of strings
| ||
parent | integer
| ||
newzonemode | string
| ||
name | string
| ||
preroll | string
| ||
loop | string
| ||
object | |||
| |||
object | |||
| |||
filescount | integer
| ||
_METHOD | string
| ||
draft | integer
| ||
platformtype | string
| ||
type | string
|
{- "notused": [
- "parent",
- "/",
- ""
], - "parent": 1616,
- "newzonemode": "http",
- "name": "floppy-driver",
- "preroll": "Y",
- "loop": "repeat",
- "files": {
- "file": [
- "/videos/S1 E2.mp4"
]
}, - "durations": {
- "file": [
- "0,0"
]
}, - "filescount": 1,
- "_METHOD": "PUT",
- "draft": 0,
- "platformtype": "",
- "type": "file"
}
{- "result": "success",
- "message": "Stream Created",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Restart scheduled playlist
streamid required | integer Example: 50784 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restarted"
}
Create new playlist
streamid required | string Example: <string> (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
parent | integer
|
name | string
|
type | string
|
schedule | string
|
scheduleondatetime | string
|
repeatfor | integer
|
loop | string
|
files | object
|
durations | object
|
filescount | integer
|
_METHOD | string
|
autorestart | string
|
{- "parent": 50784,
- "name": "test",
- "type": "file",
- "schedule": "scheduleondatetime",
- "scheduleondatetime": "2025-01-03 00:01:01",
- "repeatfor": 1,
- "loop": "onetime",
- "files": {
- "file": [
- "/SampleVideo.mp4"
]
}, - "durations": {
- "file": [
- "0,0"
]
}, - "filescount": 1,
- "_METHOD": "PUT",
- "autorestart": "Yes"
}
{- "result": "success",
- "message": "Playlist Updated"
}
Create the playlist
streamid required | string Example: <string> (Required) Stream ID |
playlistid required | string Example: <string> (Required) Playlist ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
|
start | string
|
{- "name": "flipper",
- "start": "2025-01-03T00:00:00+01:00"
}
{- "playlistid": 7942
}
Get the playlist
streamid required | integer Example: 51748 (Required) Stream ID |
playlistid required | integer Example: 7941 (Required) Playlist ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update the playlist
streamid required | integer Example: 51748 (Required) Stream ID |
playlistid required | integer Example: 7941 (Required) Playlist ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||
type | string
| ||
schedule | string
| ||
scheduleondatetime | string
| ||
repeatfor | integer
| ||
loop | string
| ||
object | |||
| |||
object | |||
| |||
filescount | integer
| ||
autorestart | string
|
{- "name": "test",
- "type": "file",
- "schedule": "scheduleondatetime",
- "scheduleondatetime": "2025-01-03 00:01:01",
- "repeatfor": 1,
- "loop": "onetime",
- "files": {
- "file": [
- "/1.mp4"
]
}, - "durations": {
- "file": [
- "0,0"
]
}, - "filescount": 1,
- "autorestart": "Yes"
}
{- "result": "success",
- "message": "Playlist Updated"
}
Delete the playlist of Scheduled stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51748 (Required) Stream ID |
playlistid required | integer Example: 7941 (Required) Playlist ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Playlist Updated"
}
Add the platform of a Scheduled stream
streamid required | integer Example: 51748 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
Array of objects
| |||||||||||||||||||||||||||||
Array
|
{- "platform": [
- {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- [
- 3,
- 4
]
], - "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "length": 40
}
]
}
{- "result": "success",
- "message": "Platform Created",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Restart the platform of a Scheduled stream
streamid required | integer Example: 51748 (Required) Stream ID |
platformid required | integer Example: 42121 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Restarted"
}
Status the platform of a Scheduled stream
streamid required | integer Example: 51748 (Required) Stream ID |
platformid required | integer Example: 42121 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Platform enabled"
}
Update the platform of a Scheduled stream
streamid required | integer Example: 51748 (Required) Stream ID |
platformid required | integer Example: 42121 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
object | |||||||||||||||||||||||||||||
|
{- "platform": {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- 3
], - "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "length": 40
}
}
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [
- "Warning: Low disk space"
], - "errors": [
- "Error: Invalid API key"
]
}
Delete the Platform of Scheduled stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51748 (Required) Stream ID |
platformid required | integer Example: 42121 (Required) Platform ID |
Accept | string Example: application/json |
{- "platform": {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- 3
], - "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "length": 40
}
}
Return details of the stream.
streamid required | integer Example: 51748 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Update information of scheduled playlist
streamid required | integer Example: 51748 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
draft | string
|
platformtype | string
|
protocols | Array of strings
|
preroll | string
|
{- "draft": "0",
- "platformtype": "",
- "protocols": [
- "RTMP"
], - "preroll": "Y"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Delete information of scheduled playlist.To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51748 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "scheduledplaylist",
- "id": 51748,
- "serviceid": 103,
- "name": "103_push_1616_008/floppydriver",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
], - [
- "HLS"
]
], - "parentid": 1616,
- "server": "Y",
- "backup": "N",
- "draft": 0,
- "disabled": 0,
- "created_at": "2025-01-03 04:04:25",
- "updated_at": "2025-01-03 09:53:12",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 0,
- "rtsp": 0,
- "hls": 1,
- "dash": 0,
- "rtmpauth": "Y"
}, - "fms": {
- "server": null
}, - "parts": {
- "pp": "103_push_1616_008",
- "sn": "floppydriver",
- "full": "103_push_1616_008floppydriver"
}, - "restream": { },
- "playbackurls": {
- "scheme": "https",
- "rtmp": "rtmp://rtmp.5centscdn.com:1935/103_push_1616_008/floppydriver",
- "rtsp": "rtsp://rtsp.5centscdn.com:554/103_push_1616_008/floppydriver",
- "hlsManifest": "playlist.m3u8",
- "dashManifest": "manifest.mpd",
- "players": {
- "own": {
- "hashes": {
- "woj7lng8dg82-hls-live.5centscdn.com": {
- "hash": "51yu37cdrdotlwy8",
- "base64": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvcGxheWxpc3QubTN1OA==",
- "base64dash": "aHR0cHM6Ly93b2o3bG5nOGRnODItaGxzLWxpdmUuNWNlbnRzY2RuLmNvbS8xMDNfcHVzaF8xNjE2XzAwOC85YTM4NDJiZmM2N2VjYTY1MGE5NDRhZWE5OThlODBjNi5zZHAvbWFuaWZlc3QubXBk"
}
}
}
}, - "tokenized": null
}, - "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "9a3842bfc67eca650a944aea998e80c6.sdp",
- "securetoken": {
- "enabled": "N",
- "policy": "D",
- "keyip": "N",
- "list": "",
- "timeout": 3600,
- "session": "0",
- "ips": "",
- "dirs": null,
- "active": "N"
}, - "preroll": "Y",
- "loop": "N",
- "zone": {
- "id": 1616,
- "type": "push",
- "mode": "vod",
- "name": "push-1616"
}, - "hasInstantSchedule": true,
- "playlistCount": 3,
- "playlists": [
- {
- "id": 7940,
- "streamid": 51748,
- "name": "default",
- "schedule": "instant",
- "scheduletime": "",
- "type": "file",
- "repeatfor": 1,
- "loop": "repeat",
- "length": "00:00:00",
- "autorestart": "1",
- "files": [
- "/videos/S1 E2.mp4"
], - "durations": [
- [
- "0",
- "0"
]
], - "serviceid": 103
}
], - "domainlock": {
- "enabled": "N",
- "policy": "N",
- "list": "example.com",
- "ips": "192.168.1.1",
- "noreferer": "N",
- "active": "N"
}, - "geoblock": {
- "enabled": "N",
- "policy": "N",
- "list": [
- "US",
- "EU"
], - "ips": "203.0.113.5",
- "active": "N"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "123.45.67.89",
- "ips": "203.0.113.1",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "Mozilla/5.0",
- "ips": "198.51.100.7",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- "Mozilla/5.0",
- "Safari/537.36"
]
}, - "transcode": {
- "isEditable": true
}, - "platforms": [
- {
- "id": 42121,
- "relid": 51748,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false
}
}
]
}
}
Create new Restream
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||||||||||||||||||||||||||||
server | number
| ||||||||||||||||||||||||||||
type | string
| ||||||||||||||||||||||||||||
url | Array of arrays
| ||||||||||||||||||||||||||||
codec | string
| ||||||||||||||||||||||||||||
vprofiles | Array of arrays
| ||||||||||||||||||||||||||||
aprofiles | Array of arrays
| ||||||||||||||||||||||||||||
filters | Array of arrays
| ||||||||||||||||||||||||||||
_METHOD | string
| ||||||||||||||||||||||||||||
Array of objects
| |||||||||||||||||||||||||||||
Array
|
{- "name": "jippwe/sdaty",
- "server": 209,
- "type": "push",
- "url": [ ],
- "codec": "h264",
- "vprofiles": [
- 14931,
- 14937
], - "aprofiles": [
- 14931
], - "filters": [
- 3,
- 4
], - "_METHOD": "PUT",
- "platform": [
- {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "ltc": 1,
- "vprofiles": 106257,
- "aprofiles": 106257,
- "filters": [
- 3,
- 4
], - "schedule": "instant",
- "scheduleontime": "",
- "scheduleondatetime": "",
- "length": 40
}
]
}
{- "result": "success",
- "message": "Stream Created",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Return the details of restream.
streamid required | integer Example: 51778 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Update information of Restream
streamid required | integer Example: 51778 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
draft | string
|
platformtype | string
|
server | string
|
type | string
|
mode | string
|
url | Array of strings
|
codec | string
|
audiofix | string
|
{- "draft": "0",
- "platformtype": "",
- "server": "209",
- "type": "restream",
- "mode": "hls",
- "codec": "h264",
- "audiofix": "Y"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Delete information of a restream. To cast request method POST and parameters _METHOD = DELETE
streamid required | string Example: <string> (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Multistream deleted successfully."
}
Restream list
page | integer Example: page=1 |
Accept | string Example: application/json |
{- "result": "success",
- "streams": [
- {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
]
}
Return the details of restream statistics
streamid required | integer Example: 51778 (Required) Stream ID |
Accept | string Example: application/json |
{- "0": {
- "platform": [
- {
- "id": 42124,
- "time": 0,
- "bitrate": "",
- "fps": "",
- "cpu": "",
- "mem": "",
- "log": "rtmp://fms-04-01.5centscdn.com/jippwe/sdaty1: Input/output error\n"
}
], - "fs": {
- "name": "",
- "status": "Dead",
- "bitrate": "kbps",
- "fps": "",
- "time": "",
- "cpu": "",
- "mem": "",
- "speed": "",
- "log": "rtmp://el01-5-normal.cdnized.com/jippwe/sdaty: Input/output error\n",
- "video": null,
- "audio": null
}, - "status": "Enabled",
- "lastseen": 0
}, - "transcode": {
- "fst": {
- "name": "",
- "status": "Dead",
- "bitrate": "kbps",
- "fps": "",
- "time": "",
- "cpu": "",
- "mem": "",
- "speed": "",
- "log": "rtmp://el01-5-normal.cdnized.com/jippwe/sdaty: Input/output error\n",
- "video": [ ],
- "audio": [ ]
}
}
}
Update status of stream
streamid required | integer Example: 51778 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | integer
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Stream Updated",
- "streams": [
- {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
]
}
Update RTMP auth of Restream
streamid required | integer Example: 51769 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
username | string
|
password | string
|
{- "enabled": "Y",
- "username": "admin",
- "password": "password"
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Restore publish stream
streamid required | integer Example: 51769 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restored",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Restart publish stream.
streamid required | integer Example: 51768 (Required) Stream ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Stream Restarted"
}
Update the transcode of a publish stream
streamid required | integer Example: 51778 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
ltc | string
|
vprofiles | Array of strings
|
aprofiles | Array of strings
|
filters | Array of strings
|
{- "ltc": "2",
- "vprofiles": [
- "106257"
], - "aprofiles": [
- "0"
], - "filters": [
- "3"
]
}
{- "result": "success",
- "message": "Stream Updated",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Add the platform of a publish stream
streamid required | integer Example: 51778 (Required) Stream ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
type | any | ||||||||||||||||||||||
object
| |||||||||||||||||||||||
|
{- "type": null,
- "items": {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "vprofiles": 0,
- "aprofiles": 0,
- "schedule": "instant",
- "scheduleontime": null,
- "scheduleondatetime": null
}
}
{- "result": "success",
- "message": "Platform Created",
- "stream": {
- "type": "publish",
- "id": 51778,
- "serviceid": 103,
- "name": "jippwe/sdaty",
- "codec": "h264",
- "protocols": [
- [
- "HLS"
]
], - "parentid": null,
- "server": "209",
- "backup": "",
- "draft": "0",
- "disabled": "0",
- "created_at": "2025-01-03 11:29:14",
- "updated_at": "2025-01-03 11:29:14",
- "lastseen_at": false,
- "deleted": null,
- "protocolsLock": 0,
- "status": "Deploying",
- "has": {
- "rtmp": 1,
- "rtsp": 0,
- "hls": 0,
- "dash": 0,
- "rtmpauth": true
}, - "fms": {
- "server": {
- "country": "Oceania",
- "meta": {
- "fmsUrl": "rtmp://fms-04-01.5centscdn.com"
}
}
}, - "parts": {
- "pp": "jippwe",
- "sn": "sdaty",
- "full": "jippwesdaty"
}, - "restream": { },
- "platformsCount": 1,
- "ssl_enabled": true,
- "hash": "d48c90d4fc747f78e152dcff89095ec3.sdp",
- "publish": {
- "id": 51778,
- "type": "restream",
- "mode": "hls",
- "audiofix": "Y"
}, - "ipaccess": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "active": "N"
}, - "useragent": {
- "enabled": "N",
- "policy": "N",
- "list": "",
- "ips": "",
- "casesensitive": "N",
- "active": "N",
- "listArr": [
- ""
]
}, - "rtmpauth": {
- "password": "",
- "active": "N"
}, - "transcode": {
- "type": "mixed",
- "ltc": 2,
- "vprofiles": [
- "14931",
- "14937"
], - "aprofiles": [
- "14931"
], - "filters": [
- "3",
- "4"
], - "disabled": "0",
- "warnings": [
- "'source profile cannot be enabled when filters are active.'"
], - "enabled": true,
- "count": 2,
- "countRaw": 2,
- "codec": null,
- "profiles": {
- "count": {
- "total": 0
}
}, - "isEditable": true
}, - "platforms": [
- {
- "id": 42124,
- "relid": 51778,
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "schedule": "instant",
- "scheduletime": null,
- "length": "00:00",
- "platform_id": 1,
- "provider_id": 0,
- "video_id": "",
- "disabled": "0",
- "transcode": {
- "type": "sd",
- "enabled": false,
- "isEditable": true
}
}
]
}
}
Restart the platform of a publish stream
streamid required | integer Example: 51778 (Required) Stream ID |
platformid required | integer Example: 42124 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Restarted"
}
Status the platform of a publish stream
streamid required | integer Example: 51778 (Required) Stream ID |
platformid required | integer Example: 42124 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
disabled | string
|
{- "disabled": "0"
}
{- "result": "success",
- "message": "Platform enabled"
}
Update the platform of a publish stream
streamid required | integer Example: 51778 (Required) Stream ID |
platformid required | integer Example: 42126 (Required) Platform ID |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
object
| |||||||||||||||||||||||
|
{- "platform": {
- "name": "Custom RTMP tipper",
- "rtmp": "rtmp://live.example.com/app/stream12345",
- "key": "password",
- "auth": "Y",
- "username": "admin",
- "password": "password",
- "vprofiles": 0,
- "aprofiles": 0,
- "schedule": "instant",
- "scheduleontime": null,
- "scheduleondatetime": null
}
}
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Delete the Platform of publish stream. To cast request method POST and parameters _METHOD = DELETE
streamid required | integer Example: 51778 (Required) Stream ID |
platformid required | integer Example: 42126 (Required) Platform ID |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Platform Updated",
- "warnings": [ ],
- "errors": [ ]
}
Summary report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
range | string
|
type | string
|
{- "range": "2025-01-15 00:00:00",
- "type": "hourly"
}
{- "result": "success",
- "stats": {
- "bandwidth": {
- "delivered": [
- {
- "date": "2025-01-01 00:00",
- "value": 306
}
]
}, - "caching": {
- "hits": [
- {
- "date": "2025-01-01 00:00",
- "value": 0
}
], - "misses": [
- {
- "date": "2025-01-01 00:00",
- "value": 2
}
]
}, - "requests": {
- "total": [
- {
- "date": "2025-01-01 00:00",
- "value": 2
}
]
}, - "summary": {
- "bandwidth": {
- "delivered": 17432
}, - "requests": {
- "total": 37
}, - "caching": {
- "hits": 0,
- "misses": 37
}
}
}
}
Cache Statistics report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
filter_type | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "filter_type": "0",
- "start_date": "2024-12-27",
- "end_date": "2025-01-03"
}
{- "result": "success",
- "stats": {
- "cache_statistics": {
- "cache_statistic_table": [
- {
- "gb": 97199378,
- "request": 242,
- "locationid": 241,
- "hit": 42,
- "miss": 92,
- "bypass": 0,
- "others": 108,
- "total": 242
}
], - "cache_statistic_line_chart": [
- {
- "date": "2024-12-27",
- "time": "2024-12-27",
- "bytes": 278766,
- "hit": 0,
- "miss": 7,
- "bypass": 0,
- "others": 31,
- "total": 38
}
]
}
}
}
Top Files report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
start_date | string
|
end_date | string
|
type | string
|
{- "start_date": "2024-12-30",
- "end_date": "2025-01-06",
- "type": "dynamic"
}
{- "result": "success",
- "stats": {
- "top_files": {
- "top_fifty_files_table": [
- {
- "method": "GET",
- "url": "/spst/f35780fabc7ac3f1a9e5d599645950ce.sdp/chunks.m3u8",
- "bytes": 156152,
- "request": 697
}
]
}
}
}
Top Referrers report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
start_date | string
|
end_date | string
|
{- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "top_referrers": {
- "top_fifty_referers_table": [
]
}
}
}
Status Codes report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "status_codes": {
- "status_code_table": [
- {
- "code": 200,
- "bytes": 102888381358,
- "request": 7226905
}
], - "status_code_line_chart": [
- {
- "date": "2024-09-08",
- "code": 403,
- "bytes": 2484,
- "request": 6
}
]
}
}
}
By Country report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "countries": {
- "country_table": [
- {
- "country": "India",
- "bytes": 676663588,
- "request": 1422,
- "unique_visitors": 8
}
], - "country_line_chart": [
- {
- "date": "2024-12-30",
- "country": "India",
- "bytes": 676642166,
- "request": 1379,
- "unique_visitors": 2
}
]
}
}
}
By Browser report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "browsers": {
- "browser_table": [
- {
- "browser": "\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\"",
- "request": 1118,
- "bytes": 543067197
}
], - "browser_line_chart": [
- {
- "date": "2024-12-30",
- "browser": "\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\"",
- "request": 1118,
- "bytes": 543067197
}
]
}
}
}
By OS report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "os": {
- "os_table": [
- {
- "os": "Linux",
- "bytes": 543067485,
- "request": 1122
}
], - "os_line_chart": [
- {
- "date": "2024-12-30",
- "os": "Linux",
- "request": 1118,
- "bytes": 543067197
}
]
}
}
}
Visitors report.
Content-Type | string Example: application/json |
Accept | string Example: application/json |
frequency | string
|
start_date | string
|
end_date | string
|
{- "frequency": "2",
- "start_date": "2024-12-30",
- "end_date": "2025-01-06"
}
{- "result": "success",
- "stats": {
- "visitors": {
- "visitor_table": [
- {
- "ip": "178.248.116.21",
- "useragent": "\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\"",
- "city": "Kochi",
- "country": "India",
- "bytes": 579469888,
- "request": 1192
}
], - "visitor_line_chart": [
- {
- "date": "2024-12-30",
- "ip": "178.248.116.21",
- "bytes": 579469888,
- "request": 1192,
- "city": "Kochi",
- "country": "India",
- "useragent": "\"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36\""
}
]
}
}
}
Get reports of stream traffic
Content-Type | string Example: application/json |
Accept | string Example: application/json |
r | string
|
t | string
|
m | string
|
{- "r": "2024-10-30 00:00:00 - 2025-01-06 00:00:00",
- "t": "daily",
- "m": "hits"
}
{- "result": null,
- "bytesByTime": null,
- "bytesByCPC": null,
- "hitsByTime": null,
- "hitsByCPC": null,
- "mhitsByTime": null
}
Get reports of stream daily unique visitors
r | string Example: <string> (Required) Date range format should be yyyy-mm-dd hh:min:sec - yyyy-mm-dd hh:min:sec ,eg: 2020-10-04 10:29:00 - 2020-10-14 10:29:00 |
Accept | string Example: application/json |
{- "result": null,
- "duvByTime": null,
- "duvByCountry": null,
- "duvByState": null,
- "duvByProvince": null,
- "duvByBrowser": null,
- "duvByOS": null
}
Get reports of stream topvisitors
r | string Example: <string> (Required) Date range format should be yyyy-mm-dd hh:min:sec - yyyy-mm-dd hh:min:sec ,eg: 2020-10-04 10:29:00 - 2020-10-14 10:29:00 |
Accept | string Example: application/json |
{- "result": null,
- "bytesByIP": null,
- "hitsByIP": null
}
Get reports of stream bybo
r | string Example: <string> (Required) Date range format should be yyyy-mm-dd hh:min:sec - yyyy-mm-dd hh:min:sec ,eg: 2020-10-04 10:29:00 - 2020-10-14 10:29:00 |
Accept | string Example: application/json |
{- "result": null,
- "hitsByBrowser": null,
- "hitsByOS": null
}
Get reports of stream bygeo
r | string Example: <string> (Required) Date range format should be yyyy-mm-dd hh:min:sec - yyyy-mm-dd hh:min:sec ,eg: 2020-10-04 10:29:00 - 2020-10-14 10:29:00 |
Accept | string Example: application/json |
{- "result": null,
- "trafficByCountry": null
}
Get reports of stream urlresponse
m | string Example: <string> (Required) Enter reported by |
Accept | string Example: application/json |
{- "result": null,
- "urlrByTime": null,
- "urlrByUrl": null
}
Get reports of stream urltraffic
m | string Example: <string> (Required) Enter reported by |
Accept | string Example: application/json |
{- "result": null,
- "urlBytesByUrl": null,
- "urlHitsByUrl": null
}
Get reports of stream live mins stats
r | string Example: <string> (Required) Enter value last_24hrs/hourly or last_7days/hourly or last_30days/daily |
f | string Example: <string> (Required) Enter reported by |
Accept | string Example: application/json |
{- "result": "success",
- "files": [
- "spst/spst"
], - "logs": [
- {
- "serverid": 212,
- "id": 103,
- "type": "record",
- "serviceid": 103,
- "usage": "59:55",
- "file": "spst/spst",
- "from": "1736164800",
- "to": "1736168400",
- "disk": 364
}
], - "logsinfo": {
- "count": 167,
- "sum": "9.85k mins",
- "ndvr": "9.85k mins",
- "dvr": "0 mins"
}
}
update stream domain setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
ips | string
|
noreferer | string
|
mode | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": "www.google.com,www.example.com",
- "ips": "1.1.1.1,2.2.2.2",
- "noreferer": "Y",
- "mode": "push"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update streams geoblock setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | Array of strings
|
ips | string
|
mode | string
|
{- "enabled": "Y",
- "policy": "N",
- "list": [
- [
- "GB",
- "US"
]
], - "ips": "1.1.1.1,2.2.2.2",
- "mode": "push"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream securetoken setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
policy | string
|
list | string
|
timeout | string
|
session | string
|
keyip | string
|
ips | string
|
mode | string
|
{- "enabled": "Y",
- "policy": "F",
- "list": "9d0c4b0e30cde228",
- "timeout": "3600",
- "session": "0",
- "keyip": "Y",
- "ips": "1.1.1.1,2.2.2.2",
- "mode": "push"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream rtmpauth setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
username | string
|
password | string
|
mode | string
|
{- "enabled": "Y",
- "username": "admin",
- "password": "password",
- "mode": "push"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream ndvr setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
mode | string
|
{- "enabled": "Y",
- "retention": "33",
- "mode": "save"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream record setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
retention | string
|
mode | string
|
{- "enabled": "Y",
- "retention": "33",
- "mode": "save"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream cname setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
cname | string
|
certid | string
|
{- "cname": "jon.5centscdndemo.ca,k.5centscdndemo.ca",
- "certid": "5"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
update stream hash setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
enabled | string
|
hashrestream | string
|
extension | string |
key | string
|
{- "enabled": "Y",
- "hashrestream": "Y",
- "extension": "",
- "key": "test"
}
{- "result": "success",
- "message": "Stream Settings Updated. Please wait till the deployment completes."
}
add stream profiles setting
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
|
filemode | string
|
f | string
|
cv | string
|
sv | string
|
svvalue | string
|
deinterlace | integer
|
crf | string
|
bv | integer
|
bvvalue | integer
|
vpass | integer
|
fps | integer
|
gop | integer
|
bframe | integer
|
vprofile | string
|
ca | string
|
aca | integer
|
ba | integer
|
bavalue | integer
|
ara | integer
|
_METHOD | string
|
{- "name": "test",
- "filemode": "sd",
- "f": "mp4",
- "cv": "libx264",
- "sv": "720p",
- "svvalue": "",
- "deinterlace": 0,
- "crf": "ll",
- "bv": 1,
- "bvvalue": 2000,
- "vpass": 1,
- "fps": 30,
- "gop": 6,
- "bframe": 1,
- "vprofile": "disabled",
- "ca": "aac",
- "aca": 2,
- "ba": 1,
- "bavalue": 80,
- "ara": 44100,
- "_METHOD": "PUT"
}
{- "result": null,
- "message": null,
- "profileid": null
}
List Live Transcoding Profiles
Accept | string Example: application/json |
{- "result": "success",
- "lists": {
- "106257": {
- "id": 106257,
- "serviceid": 103,
- "type": "live",
- "name": "1080p",
- "filemode": "sd",
- "settings": {
- "name": "1080p",
- "f": "mp4",
- "cv": "libx264",
- "sv": "1080p",
- "svvalue": "",
- "deinterlace": "1",
- "crf": "22",
- "bv": "1",
- "bvvalue": "2160",
- "vpass": "1",
- "fps": "30",
- "gop": "6",
- "preset": "veryfast",
- "bframe": "2",
- "vprofile": "high",
- "vlevel": "4.1",
- "ca": "aac",
- "aca": "2",
- "ba": "1",
- "bavalue": "128",
- "ara": "48000",
- "now": "0",
- "threads": 2,
- "format": "mp4"
}, - "codec": "h264"
}
}
}
update stream profiles setting
profileid required | integer Example: 110375 (Required) Id of the Transcode Profile |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
|
f | string
|
cv | string
|
sv | string
|
svvalue | string
|
deinterlace | integer
|
crf | string
|
bv | integer
|
bvvalue | integer
|
vpass | integer
|
fps | integer
|
gop | integer
|
preset | string
|
bframe | integer
|
vprofile | string
|
ca | string
|
aca | integer
|
ba | integer
|
bavalue | integer
|
ara | integer
|
now | integer
|
{- "name": "test",
- "f": "mp4",
- "cv": "libx264",
- "sv": "720p",
- "svvalue": "",
- "deinterlace": 0,
- "crf": "ll",
- "bv": 1,
- "bvvalue": 2000,
- "vpass": 1,
- "fps": 30,
- "gop": 6,
- "preset": "superfast",
- "bframe": 1,
- "vprofile": "disabled",
- "ca": "aac",
- "aca": 2,
- "ba": 1,
- "bavalue": 80,
- "ara": 44100,
- "now": 0
}
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
Delete the profile of stream. To cast request method POST and parameters _METHOD = DELETE
profileid required | string Example: <string> (Required) Id of the Transcode Profile |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
List File Transcoding Filters
Accept | string Example: application/json |
{- "result": "success",
- "filters": {
- "8": {
- "id": 8,
- "serviceid": 103,
- "type": "live",
- "name": "5centsCDNLogo",
- "settings": {
- "filter": "overlay",
- "args": {
- "scale": "100",
- "position": "Top Left"
}
}
}
}
}
Create File Transcoding Filters
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||||||||||||||||||||||||||||||||||
filter | string
| ||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
_METHOD | string
|
{- "name": "flopTest",
- "filter": "drawtext",
- "args": {
- "overlay": {
- "url": "",
- "scale": "",
- "position": ""
}, - "drawtext": {
- "text": "Testing",
- "fontsize": 16,
- "fontcolor": "#42a5f5",
- "position": "Center"
}, - "img2video": {
- "url": ""
}, - "videoloop": {
- "url": ""
}
}, - "_METHOD": "PUT"
}
{- "result": "success",
- "message": "Transcoding Settings, New Filter Created",
- "filterid": 323
}
Edit Transcoding Profile Filter
filterid required | string Example: <string> (Required) Id of the Transcode Profile filter |
Content-Type | string Example: application/json |
Accept | string Example: application/json |
name | string
| ||||||||||||||||||||||||||||||||||
filter | string
| ||||||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||||||
|
{- "name": "flopTest",
- "filter": "drawtext",
- "args": {
- "overlay": {
- "url": "",
- "scale": "",
- "position": ""
}, - "drawtext": {
- "text": "Testing",
- "fontsize": 16,
- "fontcolor": "#42a5f5",
- "position": "Center"
}, - "img2video": {
- "url": ""
}, - "videoloop": {
- "url": ""
}
}
}
{- "result": "success",
- "message": "Transcoding Settings Updated"
}
Delete the information of Transcoding Profile filter. To cast request method POST and parameters _METHOD = DELETE
filterid required | integer Example: 323 (Required) Id of the Transcode Profile filter |
Accept | string Example: application/json |
{- "result": "success",
- "message": "Transcoding Settings Updated"
}