• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Guest
Apr 06, 2012 Apr 06, 2012

Copy link to clipboard

Copied

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!

Views

610

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 10, 2012 Apr 10, 2012

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines