multiple publishers on same streamName

35 views
Skip to first unread message

BBLN

unread,
Jun 11, 2010, 3:41:39 PM6/11/10
to red5
I want to make a web based voip with NetStream, there is a way to make
multiple publishes on same stream name?

Rajdeep Rath

unread,
Jun 11, 2010, 3:47:11 PM6/11/10
to red5in...@googlegroups.com
nope :) but you can do the opposite

Andy Shaules

unread,
Jun 11, 2010, 4:17:22 PM6/11/10
to red5in...@googlegroups.com
Actually, yes.
 
1. Create your own broadcast stream on the red5 server and register it with the IProvider service.
 
2. Allow each user to publish on their own individual stream.
 
3. Intercept Stream packets, copy the packets and change the timestamps to your broadcast stream's live delta.
 
4 Push packets into broadcast stream.

Rajdeep Rath

unread,
Jun 11, 2010, 4:18:36 PM6/11/10
to red5in...@googlegroups.com
wow.. i bet thats a hack :) ? FMS cant do that  right ?

BBLN

unread,
Jun 11, 2010, 4:29:33 PM6/11/10
to red5
And how i am doing this :D?

On 11 יוני, 23:17, "Andy Shaules" <bowljo...@gmail.com> wrote:
> Actually, yes.
>
> 1. Create your own broadcast stream on the red5 server and register it with the IProvider service.
>
> 2. Allow each user to publish on their own individual stream.
>
> 3. Intercept Stream packets, copy the packets and change the timestamps to your broadcast stream's live delta.
>
> 4 Push packets into broadcast stream.
>
>
>
>   ----- Original Message -----
>   From: Rajdeep Rath  To:red5in...@googlegroups.com
>   Sent: Friday, June 11, 2010 12:47 PM
>   Subject: Re: [Red5] multiple publishers on same streamName
>
>   nope :) but you can do the opposite
>

Andy Shaules

unread,
Jun 11, 2010, 4:48:11 PM6/11/10
to red5in...@googlegroups.com
lol @ hack!


@BBLN Research IStreamListener, ClientBroadcastStream, and IProviderservice
.registerStream .

Rajdeep Rath

unread,
Jun 11, 2010, 4:51:08 PM6/11/10
to red5in...@googlegroups.com
Its byte level packet mixing right ?

Andy Shaules

unread,
Jun 11, 2010, 5:03:18 PM6/11/10
to red5in...@googlegroups.com
depends on the budget.

BBLN

unread,
Jun 12, 2010, 3:47:16 AM6/12/10
to red5
Andy,
I found some examples with this classes in xuggle (audiotranscoder
demo)
but I dont know how to mix streams and fix timestamp, can you help me
with this?

On 11 יוני, 23:48, "Andy Shaules" <bowljo...@gmail.com> wrote:
> lol @ hack!
>
> @BBLN Research IStreamListener, ClientBroadcastStream, and IProviderservice
> .registerStream .
>
>
>
> ----- Original Message -----
> From: "BBLN" <doomclans...@gmail.com>To: "red5" <red5in...@googlegroups.com>
> Sent: Friday, June 11, 2010 1:29 PM
> Subject: [Red5] Re: multiple publishers on same streamName
>
> And how i am doing this :D?
>
> On 11 יוני, 23:17, "Andy Shaules" <bowljo...@gmail.com> wrote:
> > Actually, yes.
>
> > 1. Create your own broadcast stream on the red5 server and register it
> > with the IProvider service.
>
> > 2. Allow each user to publish on their own individual stream.
>
> > 3. Intercept Stream packets, copy the packets and change the timestamps to
> > your broadcast stream's live delta.
>
> > 4 Push packets into broadcast stream.
>
> > ----- Original Message -----> From: Rajdeep RathTo:red5in...@googlegroups.com

Andy Shaules

unread,
Jun 12, 2010, 12:14:03 PM6/12/10
to red5in...@googlegroups.com

I can answer questions on the list, but really cant provide example codes.
This has been done a couple times on the Xuggler list.

I'd advise to start digging in and learn about packets, presentation
timestamps, and audio. Typically raw audio is a buffer of bit depth
multiplied by channel number.

To combine them, treat them like premultiplied alpha values and add them
together and interpolate the values lower so that maxVol from both channels
at the same instant does not overflow the 2^(bit-depth).


I am currently tied up putting the finishing touches on a flash player that
plays flv files backwards and forward at any speed. =D


----- Original Message -----
From: "BBLN" <doomcl...@gmail.com>
To: "red5" <red5in...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages