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........
> >
_________________________________________________________________
Descubra como mandar Torpedos do Messenger para o celular!
http://mobile.msn.com/
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org