PHP Live Streaming - Scripts for Video Streaming, Chat, Conference, Presentation Website Home | Download | Order |Red5 Hosting | Forum | Contact
PHP Live Streaming - Scripts for Video Streaming, Chat, Conference, Presentation Website
Member Panel
Please submit your login details or register.
Username
Password
Register    
Login    

Live Video Streaming Software
VideoWhisper > Live Streaming > PHP Stand Alone

The php edition is the easiest to setup on a website and and integrate with any php script or cms.

Live Streaming PHP Webcam Script

Demo for Live Video Streaming Script

Enter Live Streaming Broadcast Demo

1. Publish channel (you can specify a name or a StudioYYY name will be automatically generated)
2. Allow access to your webcam and select the camera/audio source if you have multiple on your system.
3. Click the "Channel Link" box (the link will be automatically copied)
4. Open a new browser window or tab
5. Paste the url there to access the viewer interface for that channel

 

Installation Instructions for PHP Live Video Streaming Software

Before installing, make sure your hosting environment meets all requirements.

1. If you're not hosting RTMP with us go to RTMP Application Setup for installation details.
2. Download archive, unzip and copy contents of ls_php except to your web installation location. (Example: www.yoursite.com/live/)
3. Fill your RTMP path into settings.php .

 

Customizing & Integrating Live Video Streaming on your site

  • Edit skins, incons, sounds in templates/live .
  • This can be integrated with your members database and login system. Variables like username, loggedin (1 if user was logged in and allowed to enter, 0 otherwise), welcome message, visitor ( 1 if user is visitor and needs to provide a name in watch interface, 0 otherwise), timer settings are passed from these files:
    • vc_login.php : Video Broadcasting Interface
    • vs_login.php : Video Watch and Discuss Interface
    • vv_login.php : Live Video Interface
  • Broadcasting webcam settings (bandwidth, resolution, frames per second) and limitations (settings panel, advanced settings panel, maximum bandwidth) are also configured in vc_login.php
  • Broadcasting interface reports active broadcasters to lb_status.php. This also controls timer and can terminate session.
  • On logout broadcaster is redirected to lb_logout.php .
  • Included players report active watches to v_status.php which controls time and can terminate session. Edits this to implement ppv/ppm functionality for users watching video.
    • Change $maximumSessionTime=0 to limit maximum session time in milliseconds (set it to 600000 for 10 minutes)
    • You can also implement code to save a cookie (to check and prevent log back for a certain time) and disconnect by setting a custom disconnect message for user in $disconnect .
  • Channel page can be edited and flash resized as needed: channel.php
  • Snapshots for all channels are saved in the snapshots folder as jpg. Size depends on webcam resolution.
  • There are multiple parameters to edit. In example in vc_login.php there are many configuration options for video broadcasting interface:
    • connection and channel details: server=<?=$rtmp_server?>&serverAMF=<?=$rtmp_amf?>&room=<?=$username?>&welcome=Welcome!
    • user login an type: &username=<?=$username?>&userType=3&webserver=&msg=&loggedin=1
    • embed codes: linkcode=<?=urlencode($linkcode)?>&embedcode=<?=urlencode($embedcode)?>&embedvcode=<?=urlencode($embedvcode)?>&imagecode=<?=urlencode($imagecode)?>
    • room limitations: room_limit=&showTimer=1&showCredit=1&disconnectOnTimeout=1
    • streaming settings: &camWidth=320&camHeight=240&camFPS=15&micRate=11&camBandwidth=40960
    • buffering settings: &bufferLive=2&bufferFull=16
    • runtime editable settings: &showCamSettings=1&advancedCamSettings=1&camMaxBandwidth=81920&configureSource=1
    • snapshots: &generateSnapshots=1&snapshotsTime=15000
    • layout and features: &onlyVideo=0&noEmbeds=0&
      Many of these parameters are also working with vv_login.php and vs_login.php for watch and video interfaces.
  • From vs_login.php, watch interface can be configured:
    • layout and features: &disableVideo=0&disableChat=0&disableUsers=0&layoutCode=<?=urlencode($layoutCode)?>&fillWindow=0
      //after getting it from text chat with /videowhisper layout fill your layout code between <<<layoutEND and layoutEND;
      $layoutCode=<<<layoutEND
      layoutEND;
    • text chat filters: &filterRegex=<?=$filterRegex?>&filterReplace=<?=$filterReplace?>
      //replace bad words or expressions
      $filterRegex=urlencode("(?i)(badword1|badword2)(?-i)");
      $filterReplace=urlencode(" ** ");

 

Details, Forums, Downloads


Follow us on Twitter

Contact Us

Spread the Word
& Get Discounts