restAPI to create a Wowza CDN stream target

Mark_Clevelland
Mon, 29 Jun 2020 14:20:58 +0000
Wowza Streaming Engine

Hi Wowza,

I have WSE 4.7.8 and my application communicates with the engine via restFul API.

I have a couple of rtsp camera I want to transcode and send to the Wowza CDN.

I already have a Cloud account and everything is fine when I configure the system from the manager.

The issue comes when I try to integrate the solution using the rest API.

I saw this article:

https://www.wowza.com/docs/how-to-send-a-stream-from-wowza-streaming-engine-to-a-wowza-cdn-hls-target-by-using-the-wowza-streaming-engine-and-wowza-streaming-cloud-rest-apis

but this APi doesn’t work for me:

curl -X POST \
-H "Content-Type: application/json" \
-H "wsc-api-key: ${WSC_API_KEY}" \
-H "wsc-access-key: ${WSC_ACCESS_KEY}" \
-d '{
   "stream_target_akamai": {
     "name": "MyCloudHLStarget",
     "provider": "akamai_cupertino"
   }
}' "${WSC_HOST}/api/${WSC_VERSION}/stream_targets/akamai"

Can you please double check this API is still working and this is the right documentation.

Moreover, where should I inset the Cloud username and password to be used for the CDN ?

Thank you for the help,

Mark

7 posts - 1 participant