Phi: Difference between revisions

10 bytes added ,  21 March 2016
Line 51: Line 51:
'''stream:''' provide mjpeg stream
'''stream:''' provide mjpeg stream


Examples:
===Examples:===
=== Single screenshot ===
==== Single screenshot ====
send png instead of jpg (jpg is default)
send png instead of jpg (jpg is default)
   http://localhost:8080/screenshot?type=png
   http://localhost:8080/screenshot?type=png
Line 60: Line 60:
use default jpg encoding
use default jpg encoding
   http://localhost:8080/screenshot?window=WindowA
   http://localhost:8080/screenshot?window=WindowA
=== Motion-jpeg ===
==== Motion-jpeg ====
Send a motion-jpeg encoded video stream.
Send a motion-jpeg encoded video stream.
   http://localhost:8080/screenshot?window=WindowA&stream=y
   http://localhost:8080/screenshot?window=WindowA&stream=y
67

edits