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

Recording multiple videos - best practice?

Enthusiast ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

Using AMS 5 to record multiple videos from a web cam. It _mostly_ works but odd things are happening. Specifically, every so often I get a 2 - 5 second pause at the start of the recording. IE it's just a freeze frame, with no audio. I am recording five videos. Sometimes all five are fine. Sometimes every other one has this pause. Sometimes just one of the five has a pause... ie there seems to be no rhyme or reason.

I start the recording with this:

vidStream.attachCamera(cam);

vidStream.attachAudio(mic);

vidStream.publish("user" + questionNumber.toString(), "record");

and then I have a timer that will stop the video like so:

vidStream.attachCamera(null);

vidStream.attachAudio(null);

Have tried vidStream.close() with same result.

That's all it is... Any thoughts as to why this is happening. Pretty soon I'm going to abandon AMS and use the FlashyWrappers AIR encoder as all I need is client side encoding. I've just use FMS4.5 in the past for this same kind of thing, and decided to upgrade to AMS5 for this project. So far not going to well. I guess I could go back to 4.5 and see if that fixes it...

Views

420

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