Skip to main content
Known Participant
July 8, 2010
Question

Stale image from earlier playback after I close the stream and play another name

  • July 8, 2010
  • 1 reply
  • 474 views

I don't think there is much to add to the subject. It is a bug, anyhow.

Let's say I am playing content from publisher A which is displayed in a video. I then close the stream, and issue a play call for content B on this same stream object. If publisher B is slow enough (no new data arrives for a short while), I manage to catch a glimpse of OLD UNRELATED content from publisher A! Why is this, and is there anything I can do about it?

By the way Video.clear is broken in Flash Player 10, and that's public knowledge. However, I am not sure the clear method alleviates the problem. Even if you clear the video, the stale data appears afterwards anyway.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    July 9, 2010

    It looks like it is flash player bug not FMS bug. I think it would be better if you post your query to Flash Player forum meanwhile I will try to see if it has anything to do with FMS. By the way I tried the below scenario and it didnt worked :

    import flash.events.*;
    import flash.media.Camera;

    cam = Camera.getCamera();
    start_btn.addEventListener(MouseEvent.CLICK, showCamera);
    clear_btn.addEventListener(MouseEvent.CLICK, stopCamera);

    function showCamera(e:MouseEvent) {
    trace("showCamera() called.");
    videoBox.attachCamera(cam);
    }
    function stopCamera(e:MouseEvent) {
    trace("stopCamera() called.");
    videoBox.attachCamera(null);
    videoBox.clear();
    }

    Regards,

    Amit