I've also been trying to switch streams without re-buffering, but I guess 
that its the case of the red5... that it doesn't work like in FMS..
I think that maybe Steven gong could say something more about this issue and 
even create a fix for that;)
BR
stf

----- Original Message ----- 
From: "Hannu Leinonen" <[EMAIL PROTECTED]>
To: "Red5 Mailinglist" <[email protected]>
Sent: Saturday, August 18, 2007 5:01 PM
Subject: [Red5] Gapless Stream Change


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone!
>
> I'm doing a server-side stream which source can be changed by a flash
> client. When playing it, I'm facing an issue when changing the source.
> It doesn't play the old stream's buffer to the end, but flushes it and
> starts buffering the new stream. So the change of streams is not gapless.
>
> Here's how I do the changing of streams:
>
> SimplePlayItem sourcePlayItem = new SimplePlayItem();
> sourcePlayItem.setName(sourceStreamName);
> sourcePlayItem.setStart(-1);
> IServerStream oldStream = StreamUtils.getServerStream(scope, 
> newStreamName);
> // Remove everything from the stream
> oldStream.removeAllItems();
> // Add the playitem to the stream
> attachSourceToStream(oldStream, sourcePlayItem);
>
>
> Is this an issue on Red5 or am I missing something?
>
> Yours,
> Hannu Leinonen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
>
> iD8DBQFGxwnPlKdTOEGZkhgRAmnNAJ41+EpCMWNnqjpeYNP2bC/5oDxYUwCeKCwO
> aQwwTIQan2AKYbZRIIjbLxQ=
> =Z8kH
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 


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

Reply via email to