1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00
Commit graph

13 commits

Author SHA1 Message Date
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