Hello !
I’m trying to create Applications with Wowza REST API. I used Wowza 4.2.0.
The PHP:
$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 ?