When trying to take a snapshot of during a video stream the snapshot does not occur and then proceeds to produce the error 'distributor stopped' when the video ends, the screenshot never occurs.
I am using the exact code taken from this link and followed the instructions to take a snapshot...