hyperion.ng/libsrc/hyperion
brindosch 09ee8f26ee
Feat: Add image sender to webui + Browser screen capture (#611)
* Feat: Add image sender to webui

This PR adds a new image sending feature to the webui and extends the api accordingly. In javascript the processing of images is horrible slow (without WASM), so the solution is at the API side with out-of-the-box power of Qt.

- The image cmd accepts now a raw image that is encoded with base64. Supported are all image formats that qt supports (enough)
- There is no real size limit. It will be automatically scaled down to max 2000px width or height according to aspect ratio
- It's possible to scale down through a new "scale" property if developer wants that.
- Test were successfull until 3MP pictues, 4k+ closes the websocket on browser side, so 2k is a decent value
- Adds a new image streaming feature from browser (tabs/applications/complete desktop as target). This works just if used with HTTPS PR#612 AND with a recent version of Firefox/Chrome
2019-08-21 16:10:35 +02:00
..
schema Feat: Add SSL support for webserver + websocket (#612) 2019-08-21 16:09:28 +02:00
AuthManager.cpp second part of PR #578 2019-08-03 19:14:52 +02:00
CaptureCont.cpp Compilation error fixed 2019-08-03 19:14:52 +02:00
CMakeLists.txt - The first part 2019-08-03 19:14:52 +02:00
ComponentRegister.cpp UDP listener removed because this class is not multi-instance capable. For a new implementation, image data is needed instead of led colors. 2019-08-03 19:14:52 +02:00
Grabber.cpp Gold linker, CCache, Stats, LGTM 2019-06-05 21:13:37 +02:00
GrabberWrapper.cpp second part of PR #578 2019-08-03 19:14:52 +02:00
Hyperion.cpp Proto- and Flatbuffer now share their input to all instances 2019-08-03 19:14:52 +02:00
hyperion.schema.json UDP listener removed because this class is not multi-instance capable. For a new implementation, image data is needed instead of led colors. 2019-08-03 19:14:52 +02:00
HyperionIManager.cpp Conditions with priority 255 removed in Boblight 2019-08-03 19:14:52 +02:00
ImageProcessor.cpp Troubleshooting and ... 2019-02-03 14:36:57 +01:00
ImageToLedsMap.cpp Gold linker, CCache, Stats, LGTM 2019-06-05 21:13:37 +02:00
LedString.cpp JsonCpp to QTJson (Final Part) (#273) 2016-10-13 21:59:58 +02:00
LinearColorSmoothing.cpp The slot in the websocket client will now run through until there are no more data in the buffer 2019-08-03 19:14:52 +02:00
LinearColorSmoothing.h UDP listener removed because this class is not multi-instance capable. For a new implementation, image data is needed instead of led colors. 2019-08-03 19:14:52 +02:00
MessageForwarder.cpp Bugfix/Hotfix/Update 2019-07-02 19:06:36 +02:00
MultiColorAdjustment.cpp Tests are running again 2019-07-09 23:07:31 +02:00
PriorityMuxer.cpp Feat: Add image sender to webui + Browser screen capture (#611) 2019-08-21 16:10:35 +02:00
resource.qrc UDP listener removed because this class is not multi-instance capable. For a new implementation, image data is needed instead of led colors. 2019-08-03 19:14:52 +02:00
SettingsManager.cpp second part of PR #578 2019-08-03 19:14:52 +02:00