AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

Allow freeze on stop #199

Closed gaetancollaud closed 5 years ago

gaetancollaud commented 6 years ago

This PR allow to freeze the image when we call stop(). This is really useful for RTSP because we cannot pause. The only way to pause is to call stop() and play() again with a new url with the good timestamp but the image is gone while we paused.

There is no compatibility issue, we can still use stop as it is and the image will not be frozen (same as current behavior).

If you want to froze the image when stopping the stream you have to do it like this:


stop({
    freezeImage: true
});
gaetancollaud commented 6 years ago

I just went across the issues to see if someone had the same one. I found #183 which I wrote in 2006...

gaetancollaud commented 5 years ago

dead PR I'm closing it