Wowza Community

Enable/disable encode using REST

I have an application with an incoming stream and I have enabled the transcoder using the Transrate template. I want to enable/disable encode dinamically (for example enable 240p) without restart application. Using the REST API I can enable qualities, but the changes are only applied if I restart the application:

curl -X PUT --header ‘Content-Type: application/json’ --header ‘Accept: application/json;charset=utf-8’ --digest -u “user:password” -d ‘{“enable”: false}’ http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/test_transcoding/transcoder/templates/transrate/encodes/240p

How can I do this?

Hello

You won’t be able to dynamically start/stop a particular encode within the transcoder from the API at this time. You will need to restart the application.

Thanks,

Matt