Hi,

I am evaluating Red5 for our live streaming needs. I must admit that I
am impressed
with the quality of the project and the demos. However, I did not get
far porting our
backend to Red5 until I encountered a problem: I have not been able to
create a ServerStream that would properly stream either server-side
videos or webcam streams.
I was following some tutorial and came up with this code:

        IServerStream s =
            StreamUtils.createServerStream(scope, out);

        SimplePlayItem item = new SimplePlayItem();

        item.setName(in);
        s.addItem(item);

        s.setRepeat(true);
        s.start();

and countless of variations thereof, but it did not work, namely I
have never seen video from a ServerStream in either the Publisher
demo or our own player. I have tried all bundled flv videos
and live cam streams from client - to no avail. However, the trailers
and the webcam stream themselves show up in Publisher demo
correctly by their original stream names.

I also made sure that the ServerStream show up in
getBroadcastStreamNames(), however, when called with
the name of the said ServerStream, getBroadcastStream
returns null! I have tried both 0.6.1-1 deb and svn trunk using
Sun JDK 1.5.0 on Ubuntu Feisty.

What am I doing wrong, or is it a bug?

Regards & TIA

-- 
Antti Haapala
Associate, Red Innovation Ltd.
+358 50 369 3535
www.redinnovation.com

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

Reply via email to