Ruben,

I got Storm's example translated, converted and working under Tomcat.

I do have one question for Storm. Am I suppose to be able to see all users
that have logged
on to this Video Conference Example?

If so then I may have done something wrong. I can only still see just myself
whichever machine
I am logging in from.

However, I do see info written to the Exit TextArea window with such info as
follows:

--VideoConference my ID is = 5--
onResult evtObj.length == 1

One additional thing and I need to check back on this. The buttonDisconnect
does not appear
once I am logged in successfully. the buttonConnect remains after I connect.
The one thing I need to
check on is to be sure that an instance of buttonDisconnect actually exists
Flash example I am working
with.

I have been testing this example here on my local area network with machines
with
webcams attached which it seems to work just fine.

I really like the ability to drag a video container and placed it anywhere
on the current screen.

Basically what I did was remove all the existing Actionsscripts and place
the new actionscripts in the following folder:

/red5/swf/DEV_Source/classes/org/red5/samples/livestream/videoconference

The action script names:

Connection.as
Group.as
Container.as
Connector.as
VideoConference.as

In the Connector.as script down around line 51 you will need to change the
ip address to your own ip.

public function openConnection(evtObj:Object):Void{

 buttonConnect._visible=false;
 buttonDisconnect._visible=true;
 container_mio.show(); //we make local container visible
 this.configureAudioVideo();
 connection=new Connection();
 connection.setController(this);
 uri="rtmp://10.2.0.10/fitcDemo";   // < ---------Change to your ip address
 //TODO: get the URI from somewhere
 connection.connect(uri);

I didn't have to use the Application.java file that came in Storms example
because it appears that the
Application.java file from the current Trunk in the following folder now has
the changes that Storm used in his example.:

/red5/webapps/fitcDemo/WEB-INF/src/org/red5/demos/fitc

I replaced the videoConference.fla in the /red5/swf\DEV_Source folder with
the videoConference.fla I had converted.

I ran ant webwar, created the dist red5.war file and placed it into Tomcat's
Webapp.

Looks like this in the Windows Explorer:

D:/java/Tomcat55/webapps/red5

Oh, Yeah, I kept some of Storms Instance naming conventions simply because I
like them as well as his background image
in his videoconference example. You can easily change these if you wish.

These are as follows:

connector_mio
container_mio
group_mio


I will placed the source files as well as the compiled files for ths example
on my FTP server for anyone who wants to take a look.

Compiled file is in the VideoConference_Source_File -> This is the compiled
Flash files that you can used to replace the existing
VideoConference.swf if you like.

Source Files are in the VideoConference_Source_files folder where there are
two files:

videoConference_Flash_fla.zip  < - flash Fla file

videoconference_Scripts.rar


If you change anything here that improves the example, please let me know as
I would really like to add to this example and continue
to play with it. Please keep Storms Heading in each script as he started
this little project off and I hope it move on to bigger things
that is shared amoung the RED5 user group. Let's see how far we can take
this example.

Many thanks go out to Storm for starting this project.

These files were build with the latest Trunk 1754.

I will leave these files up for about a week.

Regards,

Lenny

On 3/13/07, Storm <[EMAIL PROTECTED]> wrote:

lol hehe just let me know if there's something missing in the code or
anything. Take care not mixing my classes if you re-translate them with
red5's ones.

about the IconButton: it's possible i extracted that class from red5's
hierachy just to have everything under control in the same place. Remember
that that code was written to understand and test how things work, it wasn't
a production app or anything and those were my very first lines of
actionscript. Oh dear, now i'm feeling embarrased lol.

Good luck

On 3/14/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
>
> Sure thing Ruben,
>
> As soon as I can get this puppy running, I will be glad to send you
> the entire repackaged piece along with instructions on how I did it.
>
> After four years of Spanish in high school and college, I finally get to
>
> use my Spanish!!  : )
>
> By the way, my translation might have a southern flavor to it since I am
> from
> the deep south of Mississippi.
>
> Como Esta y'all!!
>
> Regards,
>
> Lenny
>
>
>  On 3/13/07, Ruben Waitz <[EMAIL PROTECTED]> wrote:
> >
> > Voila!
> >
> > (That's the answer)
> >
> > Lenny, I'am interested in the translated files. Maybe you can
> > repackage them
> > so I can republish them to the benefit of everyone.
> >
> > Ruben
> >
> >
> >
> > -----Oorspronkelijk bericht-----
> > Van: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]
> > Namens l u c
> > h y x
> > Verzonden: dinsdag 13 maart 2007 23:22
> > Aan: [email protected]
> > Onderwerp: Re: [Red5] Storm's videoconference example
> >
> > This is an Action Script error related to classPath.
> > You should add the class path in flash.
> > Goto publish settings, class path. and browse for the folder or add
> > something like
> > "classes/" or  "C:\Red5\swf\DEV_Source\classes"
> > This must solve your flash compiling problem.
> >
> >
> > --
> > Luciano Bustos - Luchyx
> > ----------------------------------------
> > r i a e v o l u t i o n (r)
> > [EMAIL PROTECTED]
> > http://www.riaevolution.com
> > Phone: +54 (11) 4931-7006
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>


--
-------------------------------------------------------------------
"Nos gusta los domingos ir al parque a pinchar los globos de los niƱos
para verlos llorar" .- Eskorbuto

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to