Issues.00615 - lordmundi/wikidoctest GitHub Wiki

00615: Add option for WCS MJPEG to use native window resolution

« 00614 | Issues | 00616 »

Summary: Add option for WCS MJPEG to use native window resolution

Created: 2017–05–22 08:44

Status: Released

Category: Request

From: Mmcfarla

Version: 2.4

Released_In: 2.4.1

Description:

Right now, the WCS MJPEG stream at "/video" uses a preset default resolution, and passing a query string such as "?width=800&height=600" will cause it to use that resolution instead.

In order to stream at whatever resolution the window is currently at, the user would need to query it first using the WCS to get the resolution with either the doug.view command or a Tk winfo command. But this extra step can be annoying.

What is requested is a way to pass a parameter such as "?nativeresolution=1" and have the MJPEG streaming automatically query and adjust the resolution to be that of the size of the current window.


Comments

frankie May 22, 2017, at 09:01 AM: This has been added. The query parameter is "?nativeresolution=1"


« 00614 | Issues | 00616 »

Associated Commits

| commit | 2c6b2aca3b7e089df11ce4e017eef5c5d514e490 link6 | || | Author: | Frank Graffagnino | | Date: | Mon May 22 08:58:22 2017 -0500 | | Message: | [@Issue 00615: Adding option for nativeresolution to WCS MJPEG query str @] |

Affected Files:

gui/web_commanding_server.tcl | 11 +++++++±--
 1 file changed, 8 insertions(+), 3 deletions(-)