Skip navigation
Currently Being Moderated

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

Apr 6, 2012 9:19 AM

Tags: #problem #video #server #play #fms #webcam #stream #record #restart

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!

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points