[Red5] Pause/Resume problems
sfort
susana.fort at estudiants.urv.cat
Mon Dec 11 06:58:33 EST 2006
When I do: ns.play("audio.flv"); appers the next line in the console
[java] [INFO] 240344 pool-1-thread-12:(
org.red5.server.stream.PlaylistSubscriberStream.info ) Scheduled stop in:
5570
If I'm pausing (ns.pause(true)) nothing appears in the the console.
But if after pausing I do ns.pause(false); then these two lines appears,
maybe stop in 0 is the problem cause after that
is not possible to resume audio file
[java] [INFO] 243500 pool-1-thread-2:(
org.red5.server.stream.PlaylistSubscriberStream.info ) Scheduled stop in: 0
[java] [INFO] 243531 DefaultQuartzScheduler_Worker-7:(
org.red5.server.stream.PlaylistSubscriberStream.info ) Stop
On the other hand if i play and wait till the audio finishes these appears
[java] [INFO] 245750 pool-1-thread-10:(
org.red5.server.stream.PlaylistSubscriberStream.info ) Scheduled stop in:
5490
[java] [INFO] 251266 DefaultQuartzScheduler_Worker-6:(
org.red5.server.stream.PlaylistSubscriberStream.info ) Stop
The code that I use to pause and resume is:
ns.pause(true); // Pause
ns.pause(false); // Resume
Dan Rossi-5 wrote:
>
> susana.fort at estudiants.urv.cat wrote:
>> Hi,
>>
>> I've installed Red5 06_rc1 (Revision 1583). The pause method works
>> partially as when I click for the second time on the pause button it
>> doesn't resume.
>> The same code works properly on adobe server.
>>
>
>
> Are you viewing the server via the console or is it the windows service
> wrapper. Trying starting red5 via the console and see if you get the
> error. Is it unpausing for you ?
>
> Im using Flex AS3 and it has a togglepause feature, maybe this is the
> problem ?
>
> ns.togglePause();
>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
--
View this message in context: http://www.nabble.com/Pause-Resume-problems-tf2792746.html#a7793475
Sent from the Red5 - English mailing list archive at Nabble.com.
More information about the Red5
mailing list