Skip to main content
Participant
September 16, 2011
Question

NetStream.play(streamName, -1); plays recorded stream.

  • September 16, 2011
  • 1 reply
  • 808 views

NetStream.play(streamName, -1); 
This seems to be working wrong.  For example, if I have recorded an flv on server using FMS and FMLE with  only audio with name "myaudio" and then after if I try to play a live  stream using NetStream.play("myaudio", -1) then it plays the recorded  stream. I believe that documentation says that it should start a live  stream instead of playing recorded stream as the second argument is -1.  Is this a bug in NetStream.play method?

    This topic has been closed for replies.

    1 reply

    Participant
    September 16, 2011

    i also check with video selection option in FMLE, i publish video using FMLE with video and audio selection and record the video using FMS and  netsream.play("streamName", -1) works, it don't play the stream because  it is not live but i think that it don't work  for only audio selection in FMLE.

    calmchessplayer
    Inspiring
    September 16, 2011

    i do belive -1 says start playing the recorded video from the being saying some like NetStream.play(streamName,"live"); makes it live. look what i think up though I could be wrong I rarely use -1 

    Nikhil_Kalyan
    Participating Frequently
    September 18, 2011

    Hi,

    Thanks for trying FMS and FMLE.

    We have tried to reproduce the issue with audio only but could not. For us, it is working as per the documentation.

    Can you please try and isolate more ? It helps us in digging out more.

    Thank you !