Hi there im not too sure about the other versions but in trunk ive
discovered that when setting to repeat a playlist it will stop the
stream 10 seconds before its meant to start , ie a stream of 59 seconds
stops and repeats at 49 seconds even with the length set.
It seems you dont need to set the start and length anymore thankyou. Ive
put in previous emails if you put the setRepeat before start it doesnt
stream at all.
serverStream = StreamUtils.createServerStream(appScope, "live0");
SimplePlayItem item = new SimplePlayItem();
item.setName("file");
serverStream.addItem(item);
serverStream.start();
serverStream.setRepeat(true);
however If i do this
serverStream = StreamUtils.createServerStream(appScope, "live0");
SimplePlayItem item = new SimplePlayItem();
item.setName("file");
serverStream.addItem(item);
item.setName("file");
serverStream.addItem(item);
serverStream.start();
It stops the first stream at 49 seconds, then the second one it plays
through to 59 seconds. It would be nice if there was an option to wait
to play the second item so i slight pause or gap ?
let me know thanks i can deal with this for now just make our trailer
stream with a trailing 10 seconds of black and it should repeat just at
the end :D
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org