View Single Post
Old 05-23-2020, 03:48 AM   #7
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 876
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by jefferson View Post
Do you have any examples? I have tried Websockets for sending images, but the Kobo browser have ignored it o crashed. Kindle's browser seems not to have websockets or fetch.
My last workaround Idea was to use setInterval to trigger an update of an img element with webser serving the latest image at a url.
Unfortunately setInterval doesn't seem to work
See https://developer.mozilla.org/en-US/...er-sent_events for info about Server Sent Events.

TLDR, it's super easy to setup, assuming you don't need bi-directional communications. Although, if needed, you could set up your own return channel if required.

I know the Kobo browser supports it, because I've used it.
sherman is offline   Reply With Quote