Ok i changed the pc, in my home pc i could see the example, in here i can't i guess is the x-ray thing that you said, anyway at home when i compiled with ant and decommented the code in application class on the ofla demo, the ant gave me the output that ant failed , and the line that failed was when the javac from ofla demo tag closed. So at home the build fail, and in here the connection fail, the connection is the xray log thing, i checked out, it is the as file in Red5 Samples/com/blitzagency/xray/logger called Xraylog.ast is without any comment that can be commented out, I will check all the other files in xray folder and see if i can found something that makes sense with what you said.
Thanks Jwamycha Fabio-Brazil >Hello Fabio, > >for the oflaDemo flex example, the already compiled swf is in bin and is >called FLVPlayer.swf >The mxml files is FLVPlayer.mxml, PreviewWindow.mxml and I can't remember >the other one. When you want to recompile after making your changes, use: >$ant > >To change the ant definitions, you may edit build.properties and build.xml, >which are present inside the demo. > >On 4/8/07, F?bio Costa <[EMAIL PROTECTED]> wrote: > > > > Sorry could see live streams in action I will analyze the code and the > > folders configuration. > > Thanks, if the red5 could i can do it . > > Sorry for the last e-mail i could'nt found the ofla demo, the weren't > > in > > the zip folder anyway but in swf\DEV_Deploy. > > Thanks again > > fabio-brazil > > >Hi Fabio, > > > > > >It worked for me with RC2. Are you able to view the oflaDemo? If you >are, > > >grab John's flex2 oflaDemo from here: > > >http://www.rockonflash.com/red5/demos/samples/Red5Samples.zip > > > > > >Comment out all the Xray log code as it can sometimes block the > > >connections. > > >Then connect to the oflaDemo example. Once you are able to do that, > > >decomment all the serverStream code in Applications.java and then do an > > >ns.play("live0", -1), you will then see live stream in action :-) > > > > > >Please let me know how it goes. > > > > > >On 4/6/07, F?bio Costa < [EMAIL PROTECTED]> wrote: > > > > > > > > Hi joseph , i put in the streams and still nothing, i put just >client > > >side > > > > > > > > logic, playing the stream with a netconnection, with FMS2 it worked > > when > > >i > > > > put in streams/_definst_/ folder. > > > > With red5 it didn't worked, nether puttin in streams, or > > > > streams/_definst_/ > > > > ow stream/ > > > > Since i simplifyed it just to client side logic, i'm pretty sure > > that > > >it > > > > > > > > is the problem in the folder > > > > There is any configuration/documentation that i can see where i > > should > > > > put > > > > the FLVS, and where it is configured? > > > > I read previous mail lists, and the people just said the same as > > you, > > > > that > > > > is just putting on streams, since there wasn't any posterior reply i > > >guess > > > > it worked for those people. > > > > > > > > You were suceed in doing that with red50.6rc2? > > > > > > > > Thanks again J wam > > > > > > > > Fabio-Brazil > > > > > > > > > >Hi Fabio, > > > > > > > > > >Don worry no problem, we all experienced the same hardships. > > > > >serverStream.close instead of serverStream.stop should work. > > > > >Please try put the streams inside webapps/yourapplication/streams > > > > > > > > > >Let us know if you have further problems. > > > > > > > > > >On 4/5/07, F?bio Costa <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Ok i know the methods, i guess i know where i should put it, so > > why > > >it > > > > > > > > > > doesn't works? > > > > > > I put my flv file in the webapps folder into the same directory >of > > >my > > > > > > application. > > > > > > The code in java is: > > > > > > > > > > > > public String publicar (String nomeDaStream,String > > > > qualstream){ > > > > > > IScope escopo= Red5.getConnectionLocal > > ().getScope(); > > > > > > IServerStream serverStream = > > > > > > StreamUtils.createServerStream(escopo,nomeDaStream); > > > > > > //Publish with given name > > > > > > SimplePlayItem item = new SimplePlayItem(); > > > > > > item.setStart(-2); > > > > > > item.setLength(-1); > > > > > > //Start and lenght to publish from the beggining and until it >ends > > > > > > item.setName(qualstream); > > > > > > //Up here is the name of the file right? > > > > > > serverStream.addItem(item); > > > > > > serverStream.start(); > > > > > > //Here the stream should being published... > > > > > > return serverStream.getPublishedName(); > > > > > > } > > > > > > > > > > > > the flash is : > > > > > > //The first parammeter the stream name, the second the video > > > > > > nc.call ("publicar",new mostra,"teste","flv:fluffy_crash"); > > > > > > in2_ns.play("teste"); > > > > > > > > > > > > //ANd then i ask toi my net stream play the same stream. > > > > > > > > > > > > But nothing happens........i searched, i googled, and everybody > > was > > > > > > cappable > > > > > > of doing that , they did almost the same things............ what > > is > > > > >wrong? > > > > > > PS: the method serverStream.stop in my application says that it > > > > does'nt > > > > > > exist. > > > > > > > > > > > > Thanks people, sorry for keeping saying the same things but it > > just > > > > > > does'nt > > > > > > show the video........ > > > _________________________________________________________________ Mande torpedos SMS do seu messenger para o celular dos seus amigos http://mobile.msn.com/ _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
