I’m trying to create a new stream target to Akamai using REST API. Here is an example of API call (hosts and IDs edited):
curl --http1.1 -X POST --header ‘Accept:application/json; charset=utf-8’ --header ‘Content-type:application/json; charset=utf-8’ https://someaddress.com:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/webcamrecording/pushpublish/mapentries/stream_1 -d’
{
“restURI”: “https://someaddress.com:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/webcamrecording/pushpublish/mapentries/stream”,
“serverName”:“defaultServer”,
“sourceStreamName”: “stream_in”,
“entryName”: “stream_1”,
“profile”: “cupertino-akamai”,
“akamai.hostId”:“someakamaihost-i”,
“application”:“live”,
“streamName”:“stream_1”,
“akamai.streamId”:“123456”,
“playbackSSL”:“true”,
“sendSSL”:“true”
}’
It works correctly - except for “playbackSSL”:“true”. It is disregarded. As a result, on HTTPS page I get “Mixed content warning”.
If I manually edit PushPublishMap.txt file and add “playbackSSL”:“true” there it works as expected.
Anything I’m doing incorrectly? Bug in wowza?
Thanks