[Red5] SimplePlayItem revisited

Dan Rossi spam at electroteque.org
Thu Dec 28 02:30:54 EST 2006


Nope doesnt work i wrestled with it for ages, even running in the 
oflaDemo app, this causes the buffer to hang at around 99% and doesnt 
play. Im stuck in the mud now. What is the value of 10000 is that 
milliseconds or seconds ?

if (appScope == conn.getScope()) {
            serverStream = StreamUtils.createServerStream(appScope, 
"live0");
            SimplePlayItem item = new SimplePlayItem();
            item.setStart(0);
            item.setLength(10000);
            item.setName("on2_flash8_w_audio");
            serverStream.addItem(item);
//            item = new SimplePlayItem();
//            item.setStart(20000);
//            item.setLength(10000);
//            item.setName("on2_flash8_w_audio");
//            serverStream.addItem(item);
            serverStream.start();
//            try {
//                serverStream.saveAs("aaa", false);
//                serverStream.saveAs("bbb", false);
//            } catch (Exception e) {}
        }


Dan Rossi wrote:
> Hi it seems there is some maybe breakes on the VOD stream front ive 
> been using as a rotating , right at the worst time too, this app is 
> about to go live tommorow. I need to go back to using a server side 
> playlist if its working yet ? However i need to somehow dynamically 
> set the length of the stream or somehow obtain this info ie what do i 
> put in if its 59.6 seconds ?
>
> I need to also get the playlist rotating then somehow switch the 
> playlist to the live publish name when a published broadcast has happened.
>  
> let me know things are broken here, i thought it was my osx plugin not 
> playing the video after its first run, its referring to this problem
>
> http://jira.red5.org/browse/SN-12
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20061228/288d1d17/attachment.htm


More information about the Red5 mailing list