You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement screenshots for HTTP video cameras. For this we factor out the
default_port function out of stream() and reuse it for screenshot().
The screenshot function takes the stream, waits for 75 buffers to ensure
we have hit an i-frame in the pipeline so we can encode a complete
picture and than encodes the picture into a jpeg file.
Signed-off-by: Rouven Czerwinski <[email protected]>
0 commit comments