# Disable MediaCaster Stream Monitor

**URL:** <https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098>\
**Category:** Wowza Streaming Engine\
**Created:** [October 26, 2015, 7:46pm UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098 "2015-10-26T19:46:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nowis\_Simon](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@Nowis\_Simon](https://community.wowza.com/u/Nowis_Simon)\
**Post date:** [October 26, 2015, 7:46pm UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/1 "2015-10-26T19:46:09Z")

</div>

Hello !

I’m trying to create Applications with Wowza REST API. I used Wowza 4.2.0.

The PHP:

```auto
$arrayAPI =
[
	"restURI" => "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/".htmlspecialchars($_POST["uuid"]),
	"name" => htmlspecialchars($_POST["uuid"]),
	"appType" => "Live",
	"clientStreamReadAccess" => "*",
	"clientStreamWriteAccess" => "*",
	"description" => htmlspecialchars($_POST["uuid"])." application",
	"streamConfig" => [
		 "restURI" => "http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/".htmlspecialchars($_POST["uuid"])."/streamconfiguration",
		 "streamType" => "live-record",
		 "storageDir" => "/data/users/ftp-root/road-iq/".htmlspecialchars($_POST["name_dvdr"])."/wowza/content"
	]
];
$resAPI = CallAPI('POST', 'http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/'.htmlspecialchars($_POST["uuid"]), $arrayAPI);

```

This short code created the application. But the MediaCaster Stream Monitor is enabled and prevent HLS on iPad to working fine.

For comparaison, I created an application with Wowza Manager Application, and all work fine.

How I can disable the MediaCaster Stream Monitor when I created an application when REST API ?

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [October 29, 2015, 3:40am UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/2 "2015-10-29T03:40:50Z")

</div>

Hello

You can use the following endpoint to modify the actions of the validator:

```auto
PUT http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/adv

```

So a simple cURL example request to turn this off would be as follows:

```auto
curl -X PUT http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/adv --header 'Accept:application/json; charset=utf-8' --header 'Content-type:application/json' -d '{
   [B]"enabled": false,[/B]
   "canRemove": false,
   "name": "enable",
   "value": "true",
   "defaultValue": "true",
   "type": "Boolean",
   "sectionName": "MediaCasterStreamMonitor",
   "section": null,
   "documented": true
}'

```

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Roberto\_Trevisan](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Roberto\_Trevisan](https://community.wowza.com/u/Roberto_Trevisan)\
**Post date:** [November 24, 2015, 8:18am UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/3 "2015-11-24T08:18:44Z")

</div>

Hello,

I have the same problem.

Tried change do false, but not working.

I need a solution to do this.

thank you.

---

<div class="post-metadata">

**Author:** ![Roberto\_Trevisan](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@Roberto\_Trevisan](https://community.wowza.com/u/Roberto_Trevisan)\
**Post date:** [November 24, 2015, 1:53pm UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/4 "2015-11-24T13:53:00Z")

</div>

Hello,

I’m creating an application using the REST API.

Compared the Application.xml generated via REST with the generated via Interface Admin Wowza. There are several extra modules created via REST API. Must remove them or leave them with **enable: false**.

I can not change all of them using the methods UPDATE (Updates the specified advanced Application configuration).

examples:

All MediaCasterStreamMonitor

{

**"enabled": true** ,

“canRemove”: false,

“name”: “enable”,

“value”: “true”,

“defaultValue”: “true”,

“type”: “Boolean”,

“sectionName”: “MediaCasterStreamMonitor”,

“section”: null,

“documented”: true

},

{

**"enabled": true** ,

“canRemove”: false,

“name”: “resetNameGroups”,

“value”: “true”,

“defaultValue”: “true”,

“type”: “Boolean”,

“sectionName”: “MediaCasterStreamMonitor”,

“section”: null,

“documented”: true

},…

and

{

“enabled”: true,

“canRemove”: false,

“name”: “securityPublishRTMPSecureURL”,

“value”: null,

“defaultValue”: null,

“type”: “String”,

“sectionName”: “Application”,

“section”: “/Root/Application”,

“documented”: false

},

{

“enabled”: true,

“canRemove”: false,

“name”: “securityPublishIPBlackList”,

“value”: null,

“defaultValue”: null,

“type”: “String”,

“sectionName”: “Application”,

“section”: “/Root/Application”,

“documented”: false

},

{

“enabled”: true,

“canRemove”: false,

“name”: “securityPublishIPWhiteList”,

“value”: null,

“defaultValue”: null,

“type”: “String”,

“sectionName”: “Application”,

“section”: “/Root/Application”,

“documented”: false

},

{

“enabled”: true,

“canRemove”: false,

“name”: “securityPublishValidEncoders”,

“value”: null,

“defaultValue”: null,

“type”: “String”,

“sectionName”: “Application”,

“section”: “/Root/Application”,

“documented”: false

},

Thank you for yout help!

Trevisan

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [November 24, 2015, 8:48am UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/5 "2015-11-24T08:48:30Z")

</div>

Hello Trevisan. Can you please explain, in detail what you are trying to do and what you have already tried? Your post is unclear about what you need help with.

regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![Nowis\_Simon](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@Nowis\_Simon](https://community.wowza.com/u/Nowis_Simon)\
**Post date:** [October 30, 2015, 1:23am UTC](https://community.wowza.com/t/disable-mediacaster-stream-monitor/46098/6 "2015-10-30T01:23:54Z")

</div>

Thank you matt\_y for your reply, but this not still working.

I have alway the Media Caster Stream Monitor enabled and i have some errors when i try to create an rtmp streaming:

```auto
2015-10-30
00:17:47 (UTC)
comment
server (200)
Missing function: releaseStream
x-duration: 27199.53
2015-10-30
00:17:47 (UTC)
comment
server (200)
Missing function: FCPublish
x-duration: 27199.531
2015-10-30
00:17:47 (UTC)
comment
server (200)
Missing function: createStream
x-duration: 27199.531
2015-10-30
00:18:12 (UTC)
comment
server (200)
Missing function: deleteStream
x-duration: 27224.53

```
