Skip to main content
March 1, 2011
Question

why can't my live stream stop?

  • March 1, 2011
  • 1 reply
  • 1197 views

My fmis server is 3.5.4 and I use flvPlayback to play the fms live stream.

I want to let the live stream stopping status after be load completed.

but after I set the autoPlay=false, the fms live stream is not stopping status after be load completed.

However I try the fms vod stream as the autoPlay=false ,is can stop .

what's different the live stream and vod stream. why the vod stream can stop but live stram can't stop???

    This topic has been closed for replies.

    1 reply

    March 1, 2011

    Hi,

    I did not get your issue correctly. Are you saying that even after you set autoPlay to false the live stream is starting to play before you issue play() call. Am I right here? If possible can you paste some code as to how you are trying to achieve it. I currently suspect your media playback is already getting started, before you set autoPlay to false. 

    Thanks,

    Abhishek

    March 2, 2011

    yes,even after I set autoPlay to false the live stream is starting to play.

    the following is my flash AS code:


    import fl.video.*;

    var flvControl:FLVPlayback=myVideo;
    var flvSrc:String;

    mylogo.buttonMode=true;
    flvControl.playButton=playbtn;
    flvControl.pauseButton=pausebtn;
    flvControl.seekBar=seekingbar;
    flvControl.bufferingBar=bufbar;
    flvControl.muteButton=mutebtn;
    flvControl.volumeBar=volbar;

    flvControl.autoPlay=false;   
    flvControl.isLive=true;

    flvControl.source="rtmp://fmslive.p5w.net/live/mytest";

    //trace(flvControl.isLive);
    //trace(flvControl.autoPlay);
    //trace(flvControl.source);

    Adobe Employee
    March 7, 2011

    It looks like a bug in FlvPlayback component.