I wanted to enable the nDVR feature of WOWZA through Rest API but I am not able to find any API samples
what I wanted to know
-
What is endpoint URL where Wowza accepts this parameter
-
what is the name of the property in which I can send enable nDVR parameter
-
currently we are using this base API /v2/servers/defaultServer/vhosts/defaultVHost/applications/newapplication
does Wowza accepts this parameters on this API End Point
Hello @Fahad Rehman,
Check out https://www.wowza.com/docs/wowza-streaming-engine-rest-api for a full overview of the REST API capabilities.
If you want to enable nDVR when you create a new application, you would POST to
/v2/servers/{serverName}/vhosts/{vhostName}/applications/{appName}
If you want to enable nDVR on an existing application, you would use the same URL, but with the PUT method. Send a JSON object as POST / PUT data, where the JSON contains a “dvrConfig” property that is a child object
{
dvrConfig: {
windowDuration (integer),
dvrMediaCacheEnabled (boolean),
dvrEnable (boolean),
startRecordingOnStartup (boolean),
serverName (string),
store (string),
version (string),
recorders (string),
dvrOnlyStreaming (boolean),
httpRandomizeMediaName (boolean),
licenseType (string),
dvrEncryptionSharedSecret (string),
inUse (boolean),
archiveStrategy (string),
storageDir (string),
saveFieldList (array[string], optional)
}
}
Use the Swagger API reference for a better overview