I am just guessing but have you tried wirtiing down an empty
streamBroadcastStart method? that seems to be the error. Any way i always
compile a single .class out of the .java and then paste it into the
fitcDemo.jar, i dont use war version.
Hope that helps
Carlos
On 3/16/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
Hello Storm,
I am back to working on your example for VideoConference and I think I
have most things worked out with
the exception of an error I keep getting when I attempt build the webwar
with a modified version (translated to English)
of your application.java file in
/red5/webapps/fitcDemo/WEB-INF/src/org/red5/demos/fitc.
I think it may be that your original application.java file was actaully
prepared for Java 1.5 and will not compile for Java 1.6.
I am checking this now but I can't quite put my finger on what is exactly
wrong.
My guess is this is the final item that I need to republish your app out
again so that everyone may receive a
really good working copy of your Video Conference app.
Regards,
Lenny
Here is the message:
D:\red5>ant webwar
Buildfile: build.xml
[echo] java.home is D:\java\jdk16\jre and the target version is 1.6
-java6.check:
-junit.check:
prepare:
compile_war:
[echo] Javac version: 1.6
[echo] Compiler adapter name: modern
[echo] java.home is D:\java\jdk16\jre and the target version is 1.6
compile_demos:
[javac] Compiling 1 source file to
D:\red5\bin\tmp\fitcDemo\WEB-INF\classes
[javac]
D:\red5\webapps\fitcDemo\WEB-INF\src\org\red5\demos\fitc\Application
.java:29: org.red5.demos.fitc.Application is not abstract and does not
override
abstract method streamRecordStart(
org.red5.server.api.stream.IBroadcastStream)
in org.red5.server.api.stream.IStreamAwareScopeHandler
[javac] public class Application extends ApplicationAdapter implements
[javac] ^
[javac] 1 error
BUILD FAILED
D:\red5\build.xml:406: The following error occurred while executing this
line:
D:\red5\build.xml:228: Compile failed; see the compiler error output for
details
On 3/14/07, Storm <[EMAIL PROTECTED]> wrote:
> damm... and you are sure there aren't containers over containers hiding
> themselves, i suppose. Make sure that "nuevaConexion" is called from server
> to clients.
>
> On 3/15/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
> >
> > Hello Storm,
> >
> > Yep.
> >
> > Replaced it fully.
> >
> > That is why I was afraid I missed something.
> >
> > Regards,
> >
> > Lenny
> >
> >
> > On 3/14/07, Storm < [EMAIL PROTECTED] > wrote:
> >
> > > Nice work Lenny. Yes, it's supposed to be an "all-see-all"
> > > videoconference. Have you changed fitcDemo server-side app with mine?
> > >
> > > Cheers
> > >
> > > On 3/14/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Man, Getting old and forgetting really sucks. : ))
> > > >
> > > > The ftp url is as follows:
> > > >
> > > > ftp://67.79.48.170
> > > >
> > > > username: red5
> > > > password: red5
> > > >
> > > > Regards,
> > > >
> > > > Lenny
> > > >
> > > >
> > > >
> > > >
> > > > On 3/14/07, Lenny Sorey <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > 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 <http://connection.as/>
> > > > > Group.as <http://group.as/>
> > > > > Container.as <http://container.as/>
> > > > > Connector.as <http://connector.as/>
> > > > > VideoConference.as
> > > > >
> > > > > In the Connector.as <http://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
> > > >
> > > >
> > >
> > >
> > > --
> > > -------------------------------------------------------------------
> > > "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
> >
> >
>
>
> --
> -------------------------------------------------------------------
> "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
--
-------------------------------------------------------------------
"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