Skip to main content
Inspiring
March 25, 2008
Question

saving stream as mp3 not flv

  • March 25, 2008
  • 1 reply
  • 705 views
Hi All,

I'm building a simple record app that will record a sound from a user and
let it avaliable to other users in the server.

I'm using this code to save a stream:

myNC = new NetConnection();
myNC.connect("RTMP://xxx.xx.xx.xx/rodrigo")

out_ns = new NetStream(myNC);
out_ns.onStatus = function(info){
for(var prop in info) {
trace("netstream :"+prop +":"+info[prop]);
}
}

nome = _root.nomeUser.text;

out_ns.attachAudio(mic);
out_ns.publish("/rodrigoi/"+nome, "record");


It works, but it saves the file as an FLV not MP3, I want to know if it's
possible do that using only flash com 1.5. I guess that the file is saved as
flv by default.


thanks,
rodrigo.

--
Rodrigo Augusto Guerra
Alumni e-Learning Team
rodrigo@alumni.org.br
(11) 5644-9792
www.alumni.org.br

Antes de imprimir, pense em sua responsabilidade e compromisso com o MEIO
AMBIENTE!

O conteúdo dessa mensagem é exclusivo a seus destinatários e pode conter
informações confidenciais protegidas por sigilo profissional ou cuja
divulgação seja proibida por lei. Caso essa mensagem lhe tenha sido enviada
por engano, notifique o remetente e descarte a mensagem.

The content of this message is confidential and is intended only for the use
of the individual or entity to which it is addressed. If you are not the
intended recipient of this message, please do not disseminate, distribute or
copy this communication or its attachments by e-mail or otherwise. Instead,
please notify us immediately and delete it from your computer.


    This topic has been closed for replies.

    1 reply

    Graeme Bull
    Community Expert
    Community Expert
    March 27, 2008
    Yes, FMS only saves files as FLV unfortunately.