1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00
Commit graph

26 commits

Author SHA1 Message Date
Simo Kinnunen
5e9aa427e9 The screen websocket now sends ping messages every now and then, so that it won't get caught by nginx's proxy_read_timeout if the screen is off or not moving. Previously, nginx may have decided to kill the connection after a period of no activity. 2017-01-25 17:46:23 +09:00
Simo Kinnunen
3d74cb48ab Make jpeg quality configurable. 2016-11-28 17:22:24 +09:00
Marc Bachmann
bac74538c9
chore(package): update uuid to version 3.0.0 2016-11-23 03:21:32 +01:00
Gunther Brunner
711ab4a8e5 Updated npm dependencies.
ProtobufJS and Bluebird require further work.
2016-08-03 20:08:30 +09:00
Gunther Brunner
434f63b3a9 Fix all lib/ files with ESLint rules with 0 errors. 2016-01-19 20:52:38 +09:00
Simo Kinnunen
9d20484dcb Limit VNC size by default. 2015-09-15 04:25:21 +09:00
Simo Kinnunen
2ee767ffed Don't send manual onStart() if frameproducer's not ready. 2015-09-14 20:33:29 +09:00
Simo Kinnunen
797e97e7c7 Tell new broadcast sessions what the current state is, just in case they
were added in the middle of an existing session.
2015-09-14 19:34:06 +09:00
Simo Kinnunen
792713d415 VNC screen is visible (w/ RAW encoding). Size of VNC screen is still
hardcoded, preventing real use.
2015-09-14 18:00:17 +09:00
Simo Kinnunen
361bf9caea Move utility plugins into their own folder. They don't go into the support folder because they're not standalone units and require interaction with the main units. Further refactoring pending. 2015-07-28 15:59:02 +09:00
Simo Kinnunen
1d15e8e3d7 Since minicap is quite complicated and gets restarted often, perhaps it's best if we let changes fully propagate before restarting it again. There was a problem with someone changing rotation so quickly that pid retrieval failed, which means that stopping was sort of iffy, which then caused various problems. The pid retrieval process was improved in 5a77d300dc. 2015-07-21 15:42:58 +09:00
Simo Kinnunen
5a77d300dc Read minicap pid from shell output. Should be more reliable for quick restarts. 2015-07-21 15:34:58 +09:00
Simo Kinnunen
dc07777829 Hopefully get rid of FrameProducer._stop() timeouts. Doesn't reproduce locally. 2015-07-15 14:15:05 +09:00
Simo Kinnunen
9f627cb129 Hopefully fix occasional errors when trying to send an initial banner to a frame client. After looking through ws' source, the most likely reason seems to be that the websocket is in CLOSING state. Even if not, we should get a bit more useful log output this time. 2015-07-01 12:49:12 +09:00
Simo Kinnunen
d806d4fe54 EventEmitter constructor was not being called in many places. It did work due to the EventEmitter3 constructor being empty, but we can't rely on that. 2015-06-02 13:26:43 +09:00
Simo Kinnunen
c1357ac540 Try to read frames immediately instead of waiting for a readable event. We may already have received it before. 2015-04-30 20:59:38 +09:00
Simo Kinnunen
5bb05f52f6 Move some screen utilities to the global util directory so that they can be used for other things too. 2015-04-30 13:41:32 +09:00
Simo Kinnunen
2123a475e3 Don't allow minicap to fail more than 3 times in 10s. 2015-04-27 16:10:41 +09:00
Simo Kinnunen
688ddda713 Fix unexpected minicap death during start causing a TimeoutError, causing the licecycle to end unnecessarily. Now it will just try again like it should have from the start. 2015-04-27 11:48:42 +09:00
Simo Kinnunen
9ea0839b0b Rotate canvas image on client side when necessary. Minicap now always returns the image in upright position for newer devices. 2015-04-23 14:45:10 +09:00
Simo Kinnunen
7202f102d9 Remove duplicate code. 2015-04-23 09:57:09 +09:00
Simo Kinnunen
51bad5ec59 Oops, mistakenly left a console.log behind. 2015-04-17 17:29:34 +09:00
Simo Kinnunen
feb77c4396 Don't read new frames before the previous frame has been sent. 2015-04-17 17:21:38 +09:00
Simo Kinnunen
07fb3b530c Allow minicap to skip frames when necessary. 2015-04-16 19:50:38 +09:00
Simo Kinnunen
88162e8a33 Restart FrameProducer if it dies unexpectedly. 2015-04-16 16:35:36 +09:00
Simo Kinnunen
95e9dd0b82 Integrate new minicap along with a moderate rewrite. What's currently missing is recovering from socket death. 2015-04-15 18:55:46 +09:00