You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
600 B

<?php
require_once('zlMediaServerController.php');
$M = new zlMediaServer('035c73f7-bb6b-4889-a715-d9eb2d1925cc');
//$M->getServerConfig();
//echo "Key: " . $M->addStreamProxy( 'rtsp://admin:4GetMyID@192.168.200.118:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif', 'argus', 0 ) . "\n\n";
echo "Key: " . $M->addStreamProxy( urlencode('rtsp://admin:4GetMyID@192.168.200.118:554/cam/realmonitor?channel=1&subtype=1'), 'argus', 0 ) . "\n\n";
//echo $M->delStreamProxy( 'argus/0' ) . "\n\n";
//$M->listMedia();
unset( $M );
echo "Test Done!\n\n";
?>