The MediaCP Wowza Edition supports the Statistic relay of SAM Broadcaster. (Only available from version 2.1.5.6 onwards)
Server Configuration & Prerequisites
SAM Broadcaster looks for the connectionscount.xml at the base of the domain name.
For example: http://yourdomain.com/connectionscount.xml
If you have your control panel installed at http://yourdomain.com/mediacp/ then this will not work.
You will need to configure a .htaccess file at the base of your website that redirects the connectionscount.xml to your mediacp
For example: http://yourdomain.com/connectionscount.xml
If you have your control panel installed at http://yourdomain.com/mediacp/ then this will not work.
You will need to configure a .htaccess file at the base of your website that redirects the connectionscount.xml to your mediacp
Linux .htaccess Configuration
1. Login via SSH to your server and cd to your web directory (cd /var/www/html for example)
2. Type "nano .htaccess" and enter the following:
<IfModule mod_rewrite.c> RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^connectioncounts\.xml$ mediacp/system/mpmdigest.php$1 [L] </IfModule>
3. Save the file and that is it - you can now use SAM Broadcaster Statistic Relay
If this does not work, you need to check your httpd.conf and make sure AllowOverride is set to ALL then restart apache.
If this does not work, you need to check your httpd.conf and make sure AllowOverride is set to ALL then restart apache.
Windows .htaccess Configuration
1. Login via Remote Desktop, open File Explorer and navigate to your MediaCP directory.
2. Right click and copy the .htaccess and paste it in the base of your website directory.
3. Open the .htaccess in wordpad and paste the following:
<IfModule mod_rewrite.c> RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^connectioncounts\.xml$ mediacp/system/mpmdigest.php$1 [L] </IfModule>
4. Save the file and that is it - you can now use SAM Broadcaster Statistic Relay
SAM Broadcaster Statistics Relay Usage
Please Note: This will only work while the service is online and broadcasting.
Please Note: This will only work while the service is online and broadcasting.
1. Start SAM Broadcaster.
2. From the Main Menu select Window and select Statistics Relays if it is not already ticked.
3. Under the "Statistics Relays" click on the "+" (Plus) symbol.
4. Select Wowza statistic relay and press OK.
5. Configuration
6. Select the Stream box and your service should drop down in the selection.- Server Version is "v2"- Username is your Publish Point Name in the control panel.- Password is the password configured for the service.- Host will be the same domain name you use for the control panel- Stats Port is the same port you use for the control panel, in most cases this is 80.