Search code examples
flashactionscript-3flash-media-server

Mixing two streams and saving them to FLV with FMS4


I'm trying to figure out how can I mix two NetStream objects into one FLV file using Flash Media Server 4. Saving one stream isn't problem but I have two concurrent streams (one is pure audio from Microphone object and second is Camera+Microphone) and I want to save them as single FLV using NetStream.publish(streamName, 'record').

It will be kind of live chat but only with one video.


Solution

  • That's true, it is not possible with FMS, but can do it with FFMPEG, or a more simple way, save it to two different .flv files, and play back both of them at the same time.

    Hope this helps.

    R,

    Tamas Gronas