Skip to main content
Participant
Sep 16, 2011 6:26 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participant
    Sep 16, 2011 6:40 AM UTC

    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.

    Translate
    calmchessplayer
    Inspiring
    Sep 16, 2011 3:38 PM UTC

    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 

    Translate
    Nikhil_Kalyan
    Participating Frequently
    Sep 18, 2011 2:00 AM UTC

    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 !

    Translate