# How to Enable nDVR with REST API or JAVA

**URL:** <https://community.wowza.com/t/how-to-enable-ndvr-with-rest-api-or-java/51036>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 27, 2018, 11:57am UTC](https://community.wowza.com/t/how-to-enable-ndvr-with-rest-api-or-java/51036 "2018-03-27T11:57:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ESTEP\_COMPANY](https://avatars.discourse-cdn.com/v4/letter/e/ad7895/32.png) [@ESTEP\_COMPANY](https://community.wowza.com/u/ESTEP_COMPANY)\
**Post date:** [March 27, 2018, 11:57am UTC](https://community.wowza.com/t/how-to-enable-ndvr-with-rest-api-or-java/51036/1 "2018-03-27T11:57:07Z")

</div>

Hi,

I’m trying to enable/disable nDVR with REST Api like as follows; REST Api returns success but nDVR is not enabled or disabled.

I dont know where have I made mistakes. Anyone can help me please?

```auto
http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/aas/dvr

```

{ “windowDuration”: 0, “dvrMediaCacheEnabled”: false, “dvrEnable”: true, “startRecordingOnStartup”: false, “serverName”: “”, “store”: “dvrfilestorage”, “version”: “0”, “recorders”: “dvrrecorder”, “dvrOnlyStreaming”: false, “httpRandomizeMediaName”: false, “licenseType”: “Monthly”, “dvrEncryptionSharedSecret”: “”, “inUse”: true, “archiveStrategy”: “append”, “storageDir”: “C:\asd”, “saveFieldList”: [“”] }

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [April 2, 2018, 9:27pm UTC](https://community.wowza.com/t/how-to-enable-ndvr-with-rest-api-or-java/51036/2 "2018-04-02T21:27:55Z")

</div>

This was answered inside a support ticket. When enabling nDVR you will have to add parameters to enable DVR packetizers `dvrstreamingpacketizer` and `dvrchunkstreaming` for nDVR to be enabled without using the Manager interface.

Regards,

JasonT
