Skip to main content
Participant
September 29, 2007
Question

record multiple audio streams

  • September 29, 2007
  • 3 replies
  • 659 views
Hello

I'd like to make a voice chat software that can record all audio streams in one flv file. Is it possible with FMS 2?

Thank you for the answers:
Peter
    This topic has been closed for replies.

    3 replies

    Participant
    October 23, 2007
    Hi.. thanks to any kind of help in this forum.

    I am learning to upload flashvideo onto site with rtmp..
    have already downloaded n activated FlashMediaServer.

    What's the next step?

    Thank you.
    October 19, 2007
    Bill, anyone?

    Is there an answer to Peter's question?
    September 29, 2007
    Hello Peter,

    Using the server NetStream object, create a new server stream and give it a name, e.g. master:

    ns = Stream.get("master");

    Then start it recording with the instruction to append all the new recordings:

    ns.record("append");

    Then call the play method of the NetStream with each new publishing stream and a second parm of -1 to indicate live recording:

    ns.play("pubstream1",-1);

    ns.play("pubstream2",-1);

    When you want to stop recording call:

    ns.play(false);

    These are the basics. Post back if you need more.

    Bill


    Peter217Author
    Participant
    October 3, 2007
    Hello

    Does this nc.record("append") record simultaneusly multiple audio streams? I mean not after each other, simultaneusly. So when 3 people are talking, you playback 1.flv file and you hear that 3 voice together. Is this possible with FMS2?

    Thank you
    Peter

    October 15, 2007
    Did you find an answer Peter?