ktn_nt
12-31-2008, 01:34 PM
I am using as3 and flash media server for audio streaming.
It is storing audio in .flv format by default.
I have used below code for publishing audio in mp3 format.
var myNC:NetConnection = new NetConnection(); myNC.connect("rtmp://server.domain.com/lectureSeries/Tuesday");
var myNS:NetStream = new NetStream(myNC);
myNS.publish("mp3:lecture", "record");
But this is not saving audio in .mp3 format.
when i am using below it is publishing in .flv format.
myNS.publish("lecture", "record");
http://livedocs.adobe.com/labs/textlayout/flash/net/NetStream.html#publish()
Above link says you can save streamed audio in mp3 format with "mp3:" prefix , but this is not saving. :(
Can you please help me on this?
Thanks in advance.
Regards,
Ketan Gohil
ketan.gohil@pulsesolutions.com
It is storing audio in .flv format by default.
I have used below code for publishing audio in mp3 format.
var myNC:NetConnection = new NetConnection(); myNC.connect("rtmp://server.domain.com/lectureSeries/Tuesday");
var myNS:NetStream = new NetStream(myNC);
myNS.publish("mp3:lecture", "record");
But this is not saving audio in .mp3 format.
when i am using below it is publishing in .flv format.
myNS.publish("lecture", "record");
http://livedocs.adobe.com/labs/textlayout/flash/net/NetStream.html#publish()
Above link says you can save streamed audio in mp3 format with "mp3:" prefix , but this is not saving. :(
Can you please help me on this?
Thanks in advance.
Regards,
Ketan Gohil
ketan.gohil@pulsesolutions.com