I also can pause and resume like you show if the file is an existing file
like (Spiderman3_trailer_300.flv) but if i try to record an audio file like
this:

// Create a connection
client_nc = new NetConnection();

// Connect to the application
client_nc.connect("rtmp://localhost/recording");

var out_ns = new NetStream(client_nc);

my_mic = Microphone.get();
out_ns.attachAudio(my_mic);
                
// Publish the stream  
out_ns.publish("audio", "record");

and then when i'm playing the audio i try to pause and resume:

//Pause
in_ns.pause(true);

//Resume
in_ns.pause(false);

it stops playing but it doesn't resume.  I try also with ns.togglePause()
and ns.pause().
-- 
View this message in context: 
http://www.nabble.com/Pause-Problem-with-recording-files-tf2889906.html#a8073857
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to