Skip to main content
April 6, 2012
Question

Recorded / post processed stream won't play until server is restarted

  • April 6, 2012
  • 1 reply
  • 656 views

Hello,

I'm having a very frustrating problem with FMS. A stream recorded on the server-side won't play until I restart the server.

The user flow I'm currently working with is:

1. record webcam stream

2. close the stream

3. call FMS function to post process the stream

4. FMS joins the recorded webcam stream with two pre-recorded videos and stores as a new stream

Then, knowing the new stream name, I'm trying to play it. However, I'm always seeing its last frame and it doesn't play. Surprisingly, restarting the server and re-connecting to it helps, then I can play the stream.

So I wonder if (server-side):

var stream = Stream.get("streamName");

stream.record();

stream.play(...);

stream.play(...);

stream.play(...);

somehow retains the stream? Locks it? I'm just guessing. Any ideas?

Thanks!

This topic has been closed for replies.

1 reply

Patel Bharat
Inspiring
April 11, 2012

At client side, connect the net stream with the netconnection and than play() the stream.