# Rest API check/unckeck Playback types

**URL:** <https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477>\
**Category:** Wowza Developer Dojo\
**Tags:** rest-api\
**Created:** [June 10, 2019, 10:28pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477 "2019-06-10T22:28:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sebastian\_Perez](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Sebastian\_Perez](https://community.wowza.com/u/Sebastian_Perez)\
**Post date:** [June 10, 2019, 10:28pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/1 "2019-06-10T22:28:15Z")

</div>

Hi there,

How can I check and uncheck all and each one options in Playback types?

I mean, using Rest API I want to check/uncheck playback with HLS or RTMP or Smooth Streaming, the one on the main properties on each Application.

I already read the Rest API documentation and I didn’t find out.

Thank you.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 10, 2019, 10:57pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/2 "2019-06-10T22:57:49Z")

</div>

Let me see if I can find some help for you on this…

---

<div class="post-metadata">

**Author:** ![Sebastian\_Perez](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Sebastian\_Perez](https://community.wowza.com/u/Sebastian_Perez)\
**Post date:** [June 11, 2019, 5:41pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/3 "2019-06-11T17:41:14Z")

</div>

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 11, 2019, 11:47pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/4 "2019-06-11T23:47:08Z")

</div>

liveStreamPacketizer array will have these values. Minus the ones you would not want.

```auto
curl -X PUT \
-H 'Accept:application/json; charset=utf-8' \
-H 'Content-Type:application/json; charset=utf-8' \
http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive \
-d'
{
  "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive",
  "name":" testlive",
  "appType": "Live",
  "streamConfig": {
      "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration",
      "streamType": "live",
      "liveStreamPacketizer": [
         "cupertinostreamingpacketizer",
         "smoothstreamingpacketizer",
         "sanjosestreamingpacketizer",
         "mpegdashstreamingpacketizer"
      ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 11, 2019, 11:48pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/5 "2019-06-11T23:48:31Z")

</div>

For example, If you only want HLS playback, you would make this call:

```auto
curl -X PUT \
-H 'Accept:application/json; charset=utf-8' \
-H 'Content-Type:application/json; charset=utf-8' \
http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive \
-d'
{
  "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive",
  "name":" testlive",
  "appType": "Live",
  "streamConfig": {
      "restURI": "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration",
      "streamType": "live",
      "liveStreamPacketizer": [
         "cupertinostreamingpacketizer",
      ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![Sebastian\_Perez](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@Sebastian\_Perez](https://community.wowza.com/u/Sebastian_Perez)\
**Post date:** [June 12, 2019, 2:56pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/7 "2019-06-12T14:56:03Z")

</div>

Thank you Rose,

I already did that (and restart app included)… and nothing happend, in wowza panel still say Apple HLS On (like in the image above), and HLS stream still go on when I remove cupertinostreamingpacketizer ☹

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 12, 2019, 11:36pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/8 "2019-06-12T23:36:06Z")

</div>

Ok… that’s odd. So, I guess we need you to submit a support ticket so we can run tests on all your logs and files. It’s the only way to find out what the issue is. Sorry I couldn’t help you solve it.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<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:** [February 17, 2020, 4:49pm UTC](https://community.wowza.com/t/rest-api-check-unckeck-playback-types/53477/9 "2020-02-17T16:49:13Z")

</div>

It looks like the above call is missing the httpStreams array. This one should work if you only want MPEG-DASH http playback type:

curl -X PUT \

-H ‘Accept:application/json; charset=utf-8’ \

-H ‘Content-Type:application/json; charset=utf-8’ \

[http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/live \

-d’

{

“restURI”: “[http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/live”,

“name”:" live",

“appType”: “Live”,

“httpStreamers”:[

“mpegdashstreaming”

],

“streamConfig”: {

“restURI”: “[http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration”,

“streamType”: “live”,

“liveStreamPacketizer”: [

“mpegdashstreamingpacketizer”

]

}

}’

-JasonT
