Scripts

Software to run on websites. Scripts developed usually in php, asp, jsp.

VideoWhisper RTMP Web Session Check

0

For sites and integrations where additional security measures are required, VideoWhisper applications support login session check on RTMP side.

This is used to make sure no clients will be able to connect to rtmp server without having previously logged in with the _login.php scripts.
When a new client tries to connect to RTMP server with a session name, rtmp application will check on the web server if that client session exists. If web server does not confirm that client logged in, rtmp server will reject the connection. RTMP server will also check for a webKey that needs to be configured same way on rtmp and web server: this will prevent connections in case of web domain hijacking.
Notes
- This will disable connections from external encoders (ie. FMLE) and players (ie. JwPlayer) to that rtmp address, as these will not provide a session name to check for validity.
- Usually, each installation will require its own rtmp side that checks session info with that installation. Otherwise you will have to tweak scripts to check on all installations.

 

RTMP Configuration

RTMP side web session check is currently supported for Wowza rtmp side. Download latest version of Wowza rtmp side, deploy to your server and update these settings in conf/videowhisper-web/Application.xml :


<Properties>
<Property>
<Name>acceptPlayers</Name>
<Value>true</Value>
</Property>
<Property>
<Name>webLogin</Name>
<Value>http://installation_url/rtmp_login.php?s=</Value>
</Property>
<Property>
<Name>webKey</Name>
<Value>VideoWhisper</Value>
</Property>
<Property>
<Name>webLogout</Name>
<Value>http://installation_url/rtmp_logout.php?s=</Value>
</Property>
</Properties>
</Application>

 

 

Then restart WowzaMediaServer service. For troubleshooting check Wowza access logs. If errors occur in the error logs submit a ticket to VideoWhisper about this.

Web Configuration

Download latest Video Conference php edition and check these integration files:
rtmp.inc.php – stores session info when user authenticates from vc_login.php ; contains $webKey if you want to change it
rtmp_login.php – called by rtmp server to see if a session name is valid (authenticated); also gets canKick permission to allow user to kick clients
rtmp_logout.php – called by rtmp server when client with a session name disconnected (to cleanup session)

Configure settings.php to use the videowhisper-web rtmp address.

To integrate this on other editions or installations you will need to copy the 3 files mentioned above to installation folder and include rtmp.inc.php in the _login.php scripts that authorize the user.
Other changes could be required depending on particularities of each integration.

Sample Demo Configuration

Installation url: http://www.videowhisper.com/demos/vc_web
Using rtmp address: rtmp://videowhisper.com/videowhisper-web

         <Property>
<Name>webLogin</Name>
<Value>http://www.videowhisper.com/demos/vc_web/rtmp_login.php?s=</Value>
</Property>
<Property>
<Name>webKey</Name>
<Value>VideoWhisper</Value>
</Property>
<Property>
<Name>webLogout</Name>
<Value>http://www.videowhisper.com/demos/vc_web/rtmp_logout.php?s=</Value>
</Property>

 

 

Related Posts:

Install Joomla

Downloading to computer and then uploading unzipped files by ftp is time consuming on ADSL internet.

Get download link from http://www.joomla.org/download.html .

Assuming installing for an account camcomm:

cd /home/camcomm
wget http://joomlacode.org/gf/download/frsrelease/16024/69674/Joomla_1.7.3-Stable-Full_Package.zip
unzip Joomla_1.7* -d public_html
chown -R camcomm:camcomm public_html/*

 

Then open website and follow installation procedure.

Related Posts:

Playback RTMP with JW Player

You can publish a rtmp stream to a rtmp address and then playback with an external player like JWPlayer.
If you publish StreamName to rtmp address rtmp://your-rtmp-address-here then you will need to configure JW Player:
var flashvars = { file: StreamName.flv, streamer: rtmp://your-rtmp-address-here, autostart:”true”, type:”rtmp”}

 

Webcam video streams can be published from web with a video Live Streaming broadcasting script. With the VideoWhisper Live Streaming soulution, StreamName is channel name (in example Studio586). Important: As latest VideoWhisper solutions also support P2P streaming, these need to be configured with alwaysRTMP=1 parameter in their _login.php or equivalent script so streams are always published to RTMP server.

 

If you want to publish for other devices special encoders and codecs would be required. Using an external encoder you can encode with codecs and settings not available in browser flash player (due to flash limitations). Not all encoders and versions are compatible with all rtmp servers and versions. Some require special configuration and usage instructions.

Adobe Flash Media Live Encoder can be used for Adobe Media Interactive server and is also reported to work with Wowza.

Wowza & Wirecast documentation and support is available for Wowza Media Server hosting.

 

Note that when publishing H.264, video player should be configured to play StreamName.mp4 instead of StreamName.flv .

Related Posts:

Change php directives with suPHP

You need to create 2 files in public_html of website where suPHP is enabled. A .htaccess specifying path to php.ini configuration and a php.ini with directives.

 

Example for account “account-name”. Make sure you update that in .htaccess content:

.htaccess

suPHP_ConfigPath /home/account-name/public_html

 

php.ini

register_globals = Off

Related Posts:

Chatroulette Clone Alternative Script

VideoWhisper released a turnkey chatroulette script edition for the 2 Way P2P Video Chat script.

Click to  see Chat Roulette Clone Script in Action

See the advanced chat roulette turnkey script in action on Video Encounter, a new live website that brings you face-to-face, via webcam, with an endless stream of random strangers all over the world. You need to bring some friends for testing if no one is online.

Also see Embed Chat Roulette page and Webcam Chat Logs with Snapshots .

Also if you are a Facebook user, see the Video Encounter as Facebook Application (downsized to fit) and Video Encounter Application Page on Facebok. (more…)

Related Posts:

VideoWhisper Video Recorder

The video recorder allows site users to record webcam videos easily from website pages. This can be use on various sites to implement online features like:
+ video sharing, on demand video content
+ video messaging, video email
+ video content on member profiles, video teasers, video questionnaires
+ video comments for online posts and items, video discussions, video forums

Videos are recorded as flv files on the rtmp server and can be played trough the rtmp protocol or by http players as on youtube (if published to a web accessible location).

Web Video Recording Software

  • Live Webcam Preview
  • Select webcam/microphone, configure recording resolution, framerate, sound rate
  • Record Video
  • Timer, Maximum recording time limit
  • Accept / Discard recording
  • Instant recording preview, Replay preview

For more details check the home page of VideoWhisper web based Video Recorder.

Related Posts:

Live Streaming v2 by VideoWhisper

VideoWhisper.com upgraded the Live Streaming application bringing several improvements and optimizations requested by users.

Live Broadcast

Some of the improvements:

  • advanced webcam settings (change realtime resolution, framerate, audio rate)
  • fullscreen button for video watching interface
  • fullscreen on click for embedded plain video stream interface
  • generate updated jpg snapshots for each live stream
  • timers (displayed on each interface depending on settings) can be used to control access, integrate in pay per view systems
  • multiple new options and parameters passed from script side

Also some RTMP application improvements should be mentioned like external player support and live video archiving as FLV for the Red5 application.

Upgrades are available for download on VideoWhisper.com and do not involve any costs for free or paid licenses.

First edition available with the upgrade is the PHP edition. The rest should follow shortly.

Related Posts:

Use JW Player to play VideoWhisper application streams

With the latest VideoWhisper rtmp applications versions, webmasters can enable external player support (both for FMIS and Red5).  This can be enabled from  RTMP Application Settings.

You need to have allowPlayers=true for FMIS or acceptPlayers=true for Red5 . These settings are turned on by default.

This will allow playing a stream published by a VideoWhisper flash application like Live Streaming with an external player like JW Player.

Demo:

Publish a stream from Live Streaming Demo (i.e. Studio1) and then view it on JW Player. Update channel name in link if you’re using a different one.

Important: As latest VideoWhisper solutions also support P2P streaming, these need to be configured with alwaysRTMP=1 parameter in their _login.php or equivalent script so streams are always published to RTMP. Because of this, demo above is disabled (to prevent heavy rtmp usage on public install), but you can use sample code in your own installs.

 

Here is the code to embed JW Player:

<?
include(“settings.php”);
$stream=$_GET['n'];
?>
<object id=”player” classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ name=”player” width=”328″ height=”260″>
<param name=”movie” value=”player.swf” />
<param name=”allowfullscreen” value=”true” />
<param name=”allowscriptaccess” value=”always” />
<param name=”flashvars” value=”file=<?=
urlencode($stream)?>.flv&streamer=<?=urlencode($rtmp_server)?>&autostart=true” />
<object type=”application/x-shockwave-flash” data=”player.swf” width=”328″ height=”260″>
<param name=”movie” value=”player.swf” />
<param name=”allowfullscreen” value=”true” />
<param name=”allowscriptaccess” value=”always” />
<param name=”flashvars” value=”file=<?=
urlencode($stream)?>.flv&streamer=<?=urlencode($rtmp_server)?>&autostart=true” />
<p><a href=”http://get.adobe.com/flashplayer”>Get Flash</a> to see this player.</p>
</object>
</object>

Also this code could be used for playing a Studio1 stream broadcaster with VideoWhisper Live Streaming. Make sure you have swobject.js and player-viral.swf in that folder.

<script type='text/javascript' src='swfobject.js'></script> <div id='mediaspace'>This text will be replaced</div> <script type='text/javascript'> var so = new SWFObject('player-viral.swf','mpl','320','320','9'); so.addParam('allowfullscreen','true'); so.addParam('allowscriptaccess','always'); so.addParam('wmode','opaque'); so.addVariable('file','Studio1.flv'); so.addVariable('volume','5'); so.addVariable('streamer','rtmp://your-rtmp-server/videowhisper'); so.addVariable('autostart','true'); so.addVariable('quality','false'); so.write('mediaspace'); </script>

JW Player Demo

Interesting Plugins:

  • Adtonomy Text Ads Plugin lets you run your own text ads within the JW FLV Player
  • Google Analytics plugin for the JW Player is designed to help you understand how well your video content is performing online
  • LongTail’s AdSolution allows you to run pre-roll, overlay mid-roll, and post-roll advertisements in your media player
  • LongTail Video’s Adtonomy Plugin lets you run your own FLV advertisements within the JW FLV Player
  • Viral, a video distribution plugin, supports three main functions: embed, link, and recommendations
  • The D-Related plugin allows you to load in list of the related clips in XML format

Related Posts:

Online Video Consultation Solution by VideoWhisper

VideoWhisper Video Consultation is a premium high definition video communication software designed for online video consultations, trainings, webinars, coaching and online collaboration.

It was designed for few to many 2 way moderated video communication. Moderators control what participant is displayed on main screen (speaker) and can also add an additional participant (inquirer) to ask questions or assist. Participants can change their public status (i.e. request to speak), upload and download room files, text and video chat.

Online Video Consultation Software

Related Posts:

VideoWhisper 2 Way Video Chat Script

One on One 2 Way Video Chat Script
VideoWhisper 2 Way Video Chat is a premium high definition video communication software designed for instant 1 on 1 online video conferencing. It’s a solution for conducting easy to setup face to face meetings without leaving your office or home. It’s the easiest and most cost-effective way to meet somebody and discuss one on one. Here are 12 ways to use this:

  1. have meetings on short notice with individuals in faraway places
  2. conduct sales presentations without traveling
  3. manage employees remotely when you are not in the office
  4. bring any partner or specialist employee virtually to any meeting you physically attend to
  5. demonstrate products and software without traveling
  6. train customers, partners and employees on remote locations
  7. have employees work from home even if they are on another continent
  8. communicate from many business airlines that provide internet while mobiles are not functional
  9. talk face to face to new employees or business partners from far away locations before doing any travelling
  10. communicate face to face from anywhere you find an internet connection for your laptop
  11. remote professional consultations and advice
  12. avoid dangerous or just boring locations and persons

Read more about the 2 Way Video Chat software…

Related Posts:

Go to Top