Stream Fetches represent external streams that are pulled and streamed from your origin.
Stream Name
May only contain alpha numerical characters, dashes (-), and underscores (_)
Sample value:mystreamname
URL of the Source stream
RFC 2396 compliant URL
Sample value:rtmp://hostname.com/app/inst/stream
Audio codec: -1 for none, 0 for copy, or aac
String
Default:0
Sample value:aac
Get the Streamfetches object with id .
https://api.scaleengine.net/v2/streamfetches/
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/streamfetches/
None
{ "id": "N/A", "cdn_id": "8123", "stream": "mystreamname", "source_url": "rtmp://hostname.com/app/inst/stream", "audio_codec": "aac", "audio_bitrate": "8000", "server": "2", "custom_settings": "true", "active": "true" }
Create a new Streamfetches object.
https://api.scaleengine.net/v2/streamfetches
curl -X PUT --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/streamfetches
{ "stream": "mystreamname", "source_url": "rtmp://hostname.com/app/inst/stream", "audio_codec": "aac", "audio_bitrate": "8000", "server": "2", "custom_settings": "true", "active": "true" }
{ "id": "N/A", "cdn_id": "8123", "stream": "mystreamname", "source_url": "rtmp://hostname.com/app/inst/stream", "audio_codec": "aac", "audio_bitrate": "8000", "server": "2", "custom_settings": "true", "active": "true" }
Update the Streamfetches object with id .
https://api.scaleengine.net/v2/streamfetches/
curl -X POST --data-binary @/path/to/request/body --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/streamfetches/
{ "stream": "mystreamname", "source_url": "rtmp://hostname.com/app/inst/stream", "audio_codec": "aac", "audio_bitrate": "8000", "server": "2", "active": "true" }
{ "id": "N/A", "cdn_id": "8123", "stream": "mystreamname", "source_url": "rtmp://hostname.com/app/inst/stream", "audio_codec": "aac", "audio_bitrate": "8000", "server": "2", "custom_settings": "true", "active": "true" }
Delete the Streamfetches object with id .
https://api.scaleengine.net/v2/streamfetches/
curl -X DELETE --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/streamfetches/
None
You do not have access to modify this field
Missing one or more required fields
Data type does not conform to required field type
The value exceeded maximum length allowed
May only contain alpha numerical characters, dashes (-), and underscores (_)
RFC 2396 compliant URL
The value must be between the predefined range