Skip to main content
Participant
June 8, 2011
Question

About Live stream with FMS

  • June 8, 2011
  • 1 reply
  • 3822 views

Hi,

I am doing somthing FMS.I download the FMS4 and Adobe Flash Midea Encoder3.5 here.

Installed to my PC,they are working without any configure.

and now I want to develop a client base on gstreamer to play the RTMP:// videos.

My client play VOD video on FMS as rtmp://MYIP/vod/sample.flv without any problem.

When I change to play the live video published by Adobe Flash Midea Encoder3.5,rtmp://MYIP/live/livestream.flv,it can start,but stoped after about 2 second.

I make some debug,it seems the server stop to send data to my client.And after this stoped ,it can not start again,must reboot my client;

I have checked the server with rtmpdump + VLC,it works fine.

The Log in FMS is:

Accepted a connection from IP:192.168.0.95, referrer: , pageurl:

Sending error message: Method not found (FCSubscribe).

Sending error message: Response object not found (_result:2147483647).

"Sending error message: Method not found (FCSubscribe)." this display also with rtmpdump.

"Sending error message: Response object not found (_result:2147483647)." this only with my client,what's the reason?

In my client,I see the following after about 2 second:

WARNING: Stream corrupt?!

ERROR: Wrong data size (16717496), stream corrupted, aborting!

What's happen when my client connect to FMS?  What's the defference between VOD and LIVE?

Anyone try this with gstreamer?

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    June 8, 2011

    Hi,

    Thanks for using FMS.


    can you just try and remove the .flv from the URL while making a live stream ? That might be causing the issue at the first look of it. Please do let us know if that's not the case. We can dig more.

    Participant
    June 8, 2011

    Hi, Thanks a lot for you reply.

    I have try it witout .flv,it have the same problem.

    What's the different between VOD and LIVE?

    It seems that the server stop to send data to my client.It need send "Keep Alive" when playing the LIVE Stream?

    Nikhil_Kalyan
    Participating Frequently
    June 9, 2011

    Hi,

    The difference in simple terms between Live and VOD is the availability of the content pre-delivery on the disk. For VOD, you have it on your file system, and for live, the feed comes from your camera / encoder in real time. And so will be the handling of the delivery.

    In FMS terms, we have made sample applications for vod and live. So, the live app will not accept vod requests and vod will not accept live publishing on them.

    In your case, you mentioned that the Flash live encoder is able to publish to the live application. What's the URL and the stream name you used to publish on the encoder ?

    Are there any disconnects on the encoder ? If the encoder is publishing un interrupted, it makes sure that the server is active and hence you do not need any more keep-live kind of requests. The server is accepting the incoming stream, so any subscriber should be able to recieve them. You mentioned that you are using gstream based player, is there any specific reason for you to use this ? Can i provide a sample player that can work with the live sample application ?

    There is one sample @ http://www.osmf.org/configurator/fmp/

    Edit the video source url text box to point to your server and it should playback. Please let me know of any issues.

    Thank you !