[Red5] Live client broadcast to ServerStream trouble
anssip at gmail.com
Tue Jun 19 12:42:02 EDT 2007
Here is some more information of what happens:
1) I first broarcast a live stream from a webcam. This stream can be
successfully subscribed and watched from our Red5 installation.
2) Next I republish it using the code that I included in my previous
message. After the republishing method has been executed (it was
called by my remote Flash client) I can see that a new stream has
appeared on the server. This new server stream is available when I
call getBroadcastStreamNames() in my Application.
3) Next I try to view the streams. The original webcam stream does not
have video at all, only black. The audio is still there. The new
ServerStream does not have any signs of live, no audio or video.
On 6/19/07, api at iki.fi <anssip at gmail.com> wrote:
> I have exactly the same problem. I've tried similar code that Antti has below:
> SimplePlayItem sourcePlayitem = new SimplePlayItem();
> serverStream = StreamUtils.createServerStream(getScope(), newStreamName);
> Is that the correct approach for publishing a Webcam stream under a
> different name?
> On 6/10/07, Antti Haapala <antti at redinnovation.com> wrote:
> > 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
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
More information about the Red5