Skip to main content
Participating Frequently
September 21, 2008
Question

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

  • September 21, 2008
  • 1 reply
  • 538 views
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 has been closed for replies.

    1 reply

    Participant
    September 22, 2008
    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
    mexxikAuthor
    Participating Frequently
    September 23, 2008
    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