Skip to main content
Participating Frequently
Sep 21, 2008 11:44 AM UTC
Question

is it possible to show live and vod in one stream?

hello
i am playing here with fms i want to make a sort of home tv-channel
i have created ".swf-tv_set" for the end user wich connects to my server
the question is: what techniques should i use (on server-side maybe) to control what type of data (live or vod) is being streamed to the user? i have also created "director's swf" to switch between output data, but how can i switch live/vod in one stream, to which the user is already connected?
thank you in advance.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participant
    Sep 22, 2008 1:18 AM UTC
    Hi mexxik,

    To switch between VOD and LIVE, you 're advised to code it at the SSAS as long as the LIVE stream is not coming from Flash Media Encoder.
    The SSAS could be something like below:
    application.userStream= Stream.get("currentStream");
    application.userStream.setBufferTime(0);
    application.userStream.play(videoSignal2,-1);

    Sidney
    Translate
    mexxikAuthor
    Participating Frequently
    Sep 23, 2008 8:31 AM UTC
    YimTszLing, thank you for you reply
    one more question to make it more clear for me:
    so, do i need to create separate (for example) .swf application to form "main stream" (a sort of director's panel to switch between live and vod), then broadcast this "main stream" to a server, and then, using SSAS, distribute "main stream" to end users?

    thank you
    Translate