Skip navigation
2860 Views 1 Reply Latest reply: Jan 26, 2010 1:27 PM by abuthemagician RSS
olegchibis Bronze 1 posts since
Jun 2, 2009
Currently Being Moderated

Nov 25, 2009 9:06 AM

12 persons video conference windows layout

How to change standard layout (2x6) in video conferencing to something like 3x4 or 4x3?

  • abuthemagician Bronze 12 posts since
    Jun 26, 2008
    Currently Being Moderated
    Jan 26, 2010 1:27 PM (in response to olegchibis)
    Re: 12 persons video conference windows layout

    You have to install JDK and OpenLaszlo Server 3.4. Then extract the source file videoConf.lzx from red5.war and mod the <view x="0" y="0" width="320"> sections with a text editor just before the code below for each window:

     

    <view id="flvView0" bgcolor="0xC0C0C0">
                <method event="oninit">
                    this.setSource('myVideo4.swf');
                </method>
               
                <method event="onclick">
    <![CDATA[

     

                    if (stream == ns0Name) {

     

    After you mod it, save the file then use OpenLaszlo to compile it.

     

     

    I found that if I drew what I wanted it to look like, then came up with the cooridinates for each box, it was easier to enter it all after. Here is an example of a 6 user chat, the first user is 640x480, with the other users at 320x240 arranged around it. I have included all the files to make this work including the source...

     

    Here is the cooridinates I used to make this happen (the blank boxes are part of the 640x480 window):

    Header 1Header 2Header 3
    ns0Name <view x="0" y="0" width="640">ns1Name <view x="641" y="0" width="320">
    ns2Name <view x="0" y="241" width="320">
    ns3Name <view x="0" y="481" width="320">ns4Name <view x="321" y="481" width="320">ns5Name <view x="641" y="481" width="320">
    Attachments:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points