On 2/23/07, joseph wamicha <[EMAIL PROTECTED]> wrote:

Hi,

The code for using SimplePlayItem according to the docs goes like this:

serverStream = StreamUtils.createServerStream(appScope, "live0");
SimplePlayItem item = new SimplePlayItem();
item.setStart (0);
item.setLength(10000);
item.setName("on2_flash8_w_audio");
serverStream.addItem(item);

If one wants streamPlaylistVODItemPause/streamPlaylistVODItemResume event
to be called, how will the handler know if it is a vod stream or a broadcast
stream?


Only VOD could be paused/resumed. So in these callback, the stream should be
VOD.

Is there a way to set whether it is broadcast or vod? Does it know by itself
whether it a broadcast or vod stream as I can not see where to set it?

Thanks.
--
C is forever.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
I cannot tell why this heart languishes in silence. It is for small needs it
never asks, or knows or remembers.  -- Tagore

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

Reply via email to