Skip to main content
niteshkumar
Inspiring
April 17, 2009
Question

Publish live video streamto server side and Play at client end

  • April 17, 2009
  • 1 reply
  • 2213 views

Hi,

I want something like this

                                            _______     

                                            |           |-------------------->Client 1

                             A----------->| Server |--------------------->Client 2

                         (publisher)     |______|-------------------->Client 3.......

                                                 

Person A publishes a Live video stream to the server and server republishes it to different clients to view the Live video.

I've published the Live video stream from A to Server( but in tems of recorded data).

Now when I am playing it at the client end using FLVComponent it is working but the case is it is through file writing. But I need it to be Through Live telecast. Please help.

Thanx in Advance.

    This topic has been closed for replies.

    1 reply

    April 20, 2009

    niteshkumar wrote:

    Hi,

    I want something like this

                                                _______     

                                                |           |-------------------->Client 1

                                 A----------->| Server |--------------------->Client 2

                             (publisher)     |______|-------------------->Client 3.......

    Person A publishes a Live video stream to the server and server republishes it to different clients to view the Live video.

    I've published the Live video stream from A to Server( but in tems of recorded data).

    Now when I am playing it at the client end using FLVComponent it is working but the case is it is through file writing. But I need it to be Through Live telecast. Please help.

    Thanx in Advance.

    Are you publishing from the server using Server-side ActionScript? If so, call Stream.play() and pass -1 for the startTime parameter.

    If startTime is -1, the server attempts to play a live stream with the name specified in the streamName

    parameter and waits for a publisher if no specified live stream is available.

    Also, set the isLive property of the FLVPlayback Component to true.

    niteshkumar
    Inspiring
    April 21, 2009

    Hi jody,

        The problem is that the publisher is not the server end.

    The publisher captures the video image and publishes it to the server.

    Now I need to republish it to other cliens for receiving Live  stream.

    The same thing I want to handle through code that is handled by Live video encoder. which encodes the Live stream to server and the client

    connected to that server receives stream.

    Thanx.

    April 21, 2009

    The docs include an example that creates a client that captures live audio and video and streams it to other clients:

    http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d56e-7ff0.html

    The accompanying code in installed with FMS 3.5:

    {RootInstall}/documentation/samples/publishlive

    HTH,

    Jody