Skip to main content
Participant
April 14, 2011
Question

Synchronize same stream to multiple users

  • April 14, 2011
  • 1 reply
  • 913 views

I am creating an application where multiple people can watch a video at  the same time , but one of those people controls the playback of the  video for everyone. Furthermore, the controller is not always the same  person, it can change if someone leaves or depending on other factors.

Along with ad server integration, FMS can do that? please guide

    This topic has been closed for replies.

    1 reply

    Participant
    April 14, 2011

    also even considering that two or more users have different internet bandwidth. like it can be viewed like a tv stream, if packets are loss then user won't be able to see it...

    Message was edited by: Farhan.Khan

    April 14, 2011

    FMIS (interactive server) is capable of this using a combination of client and server side scripting.

    The idea here is that the server would play the media over a server side live stream, and the clients would subscribe to that live stream. When the "controller" changes the position of the video, a message would be sent to the server (you can use netconnection.call and a server side method on the client object) indicating the required position, and a server side method would change the position of the media on the server side stream.

    As for clients of varied bandwidth, there isn't much you can do about that. During periods of high latency or packet loss for a given client, that client my lag behind other clients with better connections. What you might consider doing is having the server dispatch a message to all clients when the position of the video is changed, and have every client close and reopen the netstream. That would clear the current lag, but would not prevent it from building up again.

    Participant
    April 14, 2011

    Thank you for the reply, I really appreciate that.

    So again I want to be sure so that I could start with it. The idea is to play online movie along with registered users, one of the user will be the

    "host" and can play or pause movie, all the users must be able to watch the movie "at the same time" meaning, streaming will be played on client simaltanously (just like a tv stream) .... which you have answered beautifully (i will mark answered )

    another feature I would want to have customize flash player integrated with flash chat. is this possible?

    Also how about inserting dynamic ads within the video based on geo location of the users? What Adobe tool I would want to look into ?

    Thank you very much