Skip to main content
Known Participant
March 20, 2011
Question

Restream stops after a while

  • March 20, 2011
  • 2 replies
  • 2094 views

Hi!

I need to publish streams to 2 different application at the same time:

     1) rtmp://stream.myhost.ru/live

     2) rtmfp://stream.myhost.ru/multicast

I configure my server to republish all streams from live to multicast using this tutorial.

When the streamer connects to the server and starts publishing something to "live" the server automatically restreams it to multicast. But after a while p2p stream suddenly freezes. The main stream continues to work. In the server logs nothing interesting, just onUnpublishing

I tried using ffmpeg to get stream from live and pubilsh to multicast manually:

ffmpeg -i rtmp://stream.myhost.ru/live/test -vcodec copy -acodec copy -f flv  rtmp://stream.myhost.ru/multicast/test

But the result was the same. Multicast stream freezes after a while, ffmpeg сontinued to show their hard work and did not show any errors.

What can I do to find the error?

    This topic has been closed for replies.

    2 replies

    Lokki7Author
    Known Participant
    March 23, 2011

    Today, restream has worked for two hours! But then again dropped without any error messages: (

    Participating Frequently
    March 21, 2011

    Which server edition are you using?

    Lokki7Author
    Known Participant
    March 21, 2011

    SE_0208 wrote:

    Which server edition are you using?

    Admin console says "Adobe Flash Media Interactive Server 4.0.0 r1211"

    Participating Frequently
    March 21, 2011

    Then i think this is expected - because what you are trying to do is Application Level Multicast which is not supported in FMIS - so for Application multicast it would apply 10 minutes limit which is there in in Developement Server.

    You can cross verify this by seeing you fms logs(don't remember exact logs - you can check application or core logs) where it should throw some error or warning saying License limit is reached or something.