i downloaded the red5samples zip file and did'nt found the oflaDemo, it isn't in my swf/samples/ folder either, in the zip file came the folders: Red5 Samples .settings bin com html_template org production
I searched, com , bin and org, and all that i found was some as files in bin there was some swfs like flashplayer-debug, main, maind debug and in com the folder blitzagency with xray in it. anyway i did'nt found the oflaDemo, i will see that with more care on monday, but i guess that i don't have this application anyway....... Thanks even so Jwamycha, i will try everything again on monday 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........ _________________________________________________________________ Seja um dos primeiros a testar o novo Windows Live Mail Beta- grátis. Acesse http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
