Skip to main content
Participant
June 15, 2010
Question

how to avoid NetStream.Play.Stop

  • June 15, 2010
  • 1 reply
  • 1297 views

Hello Members,

I'm streaming mp3 on flash media server 3.5 on  linux version, and very often come accross with that problem, when the buffer.length become 0 on client side, the streaming will stop with NetStream.Play.Stop event, and will not be continued. I think this case it should wait always till the data arrives and never should stopping.

Some more info : I tested on applications/live folder, and the mp3 files are created dynamically during the playing, and the creation speed is almost the same like the playing speed, so those are not fix files.

Thanks,

ZB

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    June 15, 2010

    Hi,

    Is that mp3 file recorded through FMS? Can you pass me the server side code? Your case is a DVR.

    Regards,

    Janaki L

    webthingsAuthor
    Participant
    June 15, 2010

    Hi,

    It's not recorded via fms.

    How could be recorded via fms?

    The mp3 is created via linux softwares eg mpg123 sox etc in real time.

    No server side code just the result is created in

    applications/live/streams/_definst_

    If I use vod the issue is the same like with,  with NetStream.Play.Stop event the streaming is stopped.

    Thanks,

    zb