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:
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 callstop()
andplay()
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: