-----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

Reply via email to