Hello,
I’m dealing with Wowza live. I create an app with Api. When I look at the broadcast page, transcoder processes are done. I already created the smil file. The url I use to watch the broadcast:
http://[wowza-ip-address]:1935/testlive/test.smil/playlist.m3u8
It works when I create a live app from the panel but it doesn’t work when I create a live app with api. I couldn’t see the error exactly. Where am I making mistakes?
I test it in theo player, there is no image.
I wonder if I’m missing something in api request
api request i use:
curl --digest -u “[username]:[password]” -X POST -H ‘Accept:application/json; charset=utf-8’ \
-H ‘Content-Type:application/json; charset=utf-8’ http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive
-d’{
“restURI”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive”,
“name”: “testlive”,
“appType”: “Live”,
“clientStreamReadAccess”: “*”,
“clientStreamWriteAccess”: “*”,
“httpCORSHeadersEnabled”: true,
“description”: “A basic live application”,
“streamConfig”: {
“restURI”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/streamconfiguration”,
“streamType”: “live”
},
“transcoderConfig”: {
“restURI”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder”,
“available”: true,
“licensed”: true,
“licenses”: -1,
“licensesInUse”: 0,
“templates”: {
“restURI”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder/templates”,
“templates”: [
{
“id”: “transcode”,
“href”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder/templates/transcode”
},
{
“id”: “audioonly”,
“href”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder/templates/audioonly”
},
{
“id”: “transcode-h265-divx”,
“href”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder/templates/transcode-h265-divx”
},
{
“id”: “transrate”,
“href”: “http://[wowza-ip-address]:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/testlive/transcoder/templates/transrate”
}
]
},
“liveStreamTranscoder”: “transcoder”,
“templatesInUse”: “${SourceStreamName}.xml,transrate.xml”,
“profileDir”: “${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles”,
“templateDir”: “${com.wowza.wms.context.VHostConfigHome}/transcoder/templates”,
“createTemplateDir”: false
}
}’