Located in /VLCServer.class.php (line 3)
Constructor.
Constructor. This creates a VLC Server object. Some defaults are already set. These are: volume, scale and audio channels. It alse detects if it is running on Windows or Linux.
Returns the current playing channel.
Returns the current playing channel. This is red form the vlc settings file.
This method will load the vlc server settings file.
This method will load the vlc server settings file. This file contains information about the current stream that is being transcoded. When the file is not available, notting will be set. Return true when all settings are loadded!
Get the return type code for the code that generates the embed player.
Get the return type code for the code that generates the embed player. If it is rtmp, which is flash, it should be done with javascript. Else you could just send back the html code
Get the HTML code for the embeded player.
Get the HTML code for the embeded player. This code is based on the chosen protocols, and encoding settings.
Set the current settings to the page with javascript.
Set the current settings to the page with javascript. This will generate a bounche of jQuery actions that set the bitrares, boutique and channel etc.
Get the streaming url.
Get the streaming url. This is based on the protocols and ip addresses.
Check if we are running on Linux.
Check if we are running on Linux.
Check if the server is still running.
Check if the server is still running.
Get the external stream data.
Get the external stream data. This will return a m3u playlist file of a asx file for Media Player. This is based on the input streaming url.
This method writes the settings to a vlc settings file.
This method writes the settings to a vlc settings file. These settings will be loaded later to show what is currently played. Returns tru on success
Set the VLC Server streaming audio bitrate.
Set the VLC Server streaming audio bitrate. The higher the bitrate, the better the audio qualitiy will be.
Set the VLC Server encoding audio codec.
Set the VLC Server encoding audio codec. This sets the output audio codec.
Set the VLC Server streaming video bitrate.
Set the VLC Server streaming video bitrate. The higher the bitrate, the better the image qualitiy will be.
Set the VLC Server source channel.
Set the VLC Server source channel. This is the ID of a Channel Object.
Set the VLC Server encoding dimentions.
Set the VLC Server encoding dimentions. This is the size of the re-encoded stream.
Set the Enigma type.
Set the Enigma type. Valid values are 'enigma1' and 'enigma2'.
Set the VLC Server frames per second.
Set the VLC Server frames per second.
Set the VLC Server stream type.
Set the VLC Server stream type. This sets also the streamplayer type when you need the embedded player.
Set the VLC Server encoding video codec.
Set the VLC Server encoding video codec. This sets the output video codec.
Start the VLC Server by executing the vlc command line.
Start the VLC Server by executing the vlc command line. You have to set all options before starting this server. If the server is started, you should be able to connect to it and watch some tv.
Stop the VLC Server.
Stop the VLC Server. This is handy to spare some system resources.
Documentation generated on Tue, 24 Jun 2008 18:59:41 +0200 by phpDocumentor 1.3.0RC3