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.

12 lines
600 B

​
​
​
​
​
​
​
​
​
​
​
​
  1. <?php
  2. require_once('zlMediaServerController.php');
  3. $M = new zlMediaServer('035c73f7-bb6b-4889-a715-d9eb2d1925cc');
  4. //$M->getServerConfig();
  5. //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";
  6. echo "Key: " . $M->addStreamProxy( urlencode('rtsp://admin:4GetMyID@192.168.200.118:554/cam/realmonitor?channel=1&subtype=1'), 'argus', 0 ) . "\n\n";
  7. //echo $M->delStreamProxy( 'argus/0' ) . "\n\n";
  8. //$M->listMedia();
  9. unset( $M );
  10. echo "Test Done!\n\n";
  11. ?>