Wowza Community

Dynamic SMIL file

I tried to use CURL to dynamically load SMIL file and am getting the following response

<?xml version="1.0" encoding="UTF-8" standalone="no"?>4.7.1500The server encountered an unexpected condition which prevented it from fulfilling the request

Here is the CURL command I am sending:

curl -X POST --digest -u Admin:1000 --header ‘Accept:application/json;charset=utf-8’ --header ‘Content-Type:application/json;charset=utf-8’ -d @json.txt

json.txt has the following:

{ “restURI”: “”, “smilStreams”: [{ “systemLanguage”: “en”, “src”: “WT-20170912-220500-BD-BN-4-001-1500k.mp4”, “systemBitrate”: “50000”, “type”: “video”, “audioBitrate”: “44100”, “videoBitrate”: “150000”, “restURI”: “”, “width”: “640”, “height”: “360” }] }

Looks like I did not complete my question on the above. I am running Wowza 4.7.1 on WIndows. I am able to get through Wowza Auth with no issues. Only issue is the server error which Wowza is returning back.

Any ideas??? thanks