AVConference

Video conference software for your web site.

Find out more details Launch demo


Also available as:
Joomla! 1.5 Component

AVConference moderator logged in

Configuring the audio and video quality in AVConference


Prerequisites:

  • working AVConference installation

Audio/video quality profile files

In the audio_video_quality_profiles folder of your client side files installation folder you will find several audio/video quality profile files. The .xml files contain information about the video and audio settings used to encode the video/audio data that's coming from your computers webcam and microphone. The .xml files are basic XML, UTF-8 encoded, files. To edit them you can use Notepad or any other text editor.

AVConference ships with several audio/video quality profile files that you can use.

If you have installed a Joomla! Component in a Joomla! website you will find this folder in components/com_avconference/ .

Changing the audio/video quality profile used

To make AVConference use another audio/video quality profile file for when users start broadcasting theyr webcams and microphones you need to change the value of the bandwidthurl variable inside avc_settings.php (or avc_settings.asp) to point to the audio/video quality profile of your choice.

The default selected audio/video quality profile is 256k_high_motion_low_picture_quality.xml .

Editing individual profile files (advanced)

Each of those files has the exact same XML structure. The XML structure is made out of a global container: , which in turn contains one node. The contains 10 other nodes.

<item>
   <nm>128 ISDN</nm>
   <df>0</df>
   <bytes>16000</bytes>
   <q>0</q>
   <fps>7</fps>
   <kfps>28</kfps>
   <w>200</w>
   <h>150</h>
   <snd>8</snd>
   <sndSilencelevel>5</sndSilencelevel>
</item>

To make and use your own video profile, copy and paste one of the .xml files in the audio_video_quality_profiles folder, edit it with a text editor, rename it accordingly, upload it to your web server, and point the $bandwidthurl variable in the php/asp configuration file to it.

Below is an explanation of each node and how it affects video/audio quality.

Each node/value pair explained:


Video settings

<bytes> This is the maximum amount in bytes that the video (not audio) can use per second. If it is set to 0, the video stream from the user to the FCS will use as much bandwidth as it can.

<q> This is the quality of the video, from o to 100. If set to 0 it will use as much quality as possible, without exceeding the <bytes> value.

<fps> This defines the video frame rate. 10, 15, 30 fps, etc...

<kfps> Advanced feature. This tells AVChat that every kfps frames a full frame will be sent to the FCS. The rest of the frames contain just the changes from the previous frame.

<w> The width of the video in pixels

<h> The height of the video in pixels

Audio settings

<snd> The sound rate. Available values: 5,8,11,22,44. This directly affects the sound quality. The bigger the better. A sound rate of X will use 0,25*X Kbytes/second to send the audio. A sound rate of 11 will use
0,25*11 =2,75 Kbytes/s .

<sndSilencelevel> Takes values from 0 to 100. Flash Player will consider any sound that is lower than the value of this tag as "silence" and thus will not send any data to the FMS. Use 100 if you want to never send audio to the FMS server. Use 0 if you always want to send to the FMS server whatever the mic captures (even noise).

Misc settings

<nm> This is the name of the connection type

<df> If set to 1, this will be the connection type that will be used by default. The value of this tag is not relevant to AVConference.

More information:

You can specify the path to the .xml file to be used by the AVConference software inside the php/asp configuration file. This way you can keep several "bandwidth.xml" files and use one with higher quality video for "gold" users and one with lower quality video for "free" users.

There is an interesting article on the Macromedia web site regarding best practices for encoding live flash video. Click here to open it.