A head unit kept sending into a connection Gearslip had closed without
telling it. Connect with cable then opened a new one that never got its
VersionRequest, and only pulling the cable got the car to start over.
- Gearslip ends a session the way Android Auto does: ByeByeRequest, then a
short wait for the car's ByeByeResponse. Not when the cable is unplugged.
- A car sending encrypted frames before this connection has said hello is
told, in the clear and at most three times, that the earlier connection is
over. This connection then waits for the car to start again.
- Every session Gearslip ends itself logs why: Disconnect pressed, a new
cable connection, wireless taking over, the screen closing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a wide, short screen such as 1600x600, the buttons over the map and in the
player take too much of the height. Lowering the display density shrinks them,
but it shrinks the map with them. Size scales only Gearslip's own UI, so Small
(0.8) and Extra small (0.65) make the buttons smaller and leave the map alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The capture waits 30 seconds after the car goes, so a cable that slips or
a wireless link that drops and comes back doesn't ask the driver to share
the screen again. It waited after every drive too: a SOOEMAKA said goodbye
at 12:15:40 and the phone stayed muted and sharing its screen until
12:16:10.
A car that says goodbye, or whose Bluetooth goes with it, isn't coming
back in a moment, so the capture now stops then. A drop with the car's
Bluetooth still there keeps the 30 seconds. The music is paused first, so the
phone's speaker comes back only after it has stopped.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Symfonium handed the controller Gearslip attached to it no queue at all,
with 26 tracks queued, and sent them only when the song next changed, so
Up next said nothing was queued until then. An app that attaches with no
queue is now asked again a second and three seconds later, through the
framework's view of its session and, failing that, the support library's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two timers each forced a keyframe every five seconds: the encoder's own
interval and the safety net in the stats loop. On a SOOEMAKA over Wi-Fi each
one came to 87-99 KB, against about 14 KB for the frames between, and the car
must take all of it in before it can show the next frame. Gearslip already
asks for a keyframe whenever one is owed: after a stall, a reset window, and
each time the car hands its screen back.
The encoder's own interval is now a minute, and the safety net, for a
glitch in the car's decoder that Gearslip never hears of, fifteen seconds.
The stats line counts the keyframes sent in each window (keys=), so windows
with one can be compared against windows without.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a SOOEMAKA's 369 dp screen the Now playing tab had no room for the
cover, the browse list showed three rows, and Up next showed under three.
On a short screen (see LocalShortScreen), every tab now takes the screen's
width rather than its height:
- Now playing: the title, seek bar and buttons on the left, with the
transport and like, shuffle and repeat in one row, and the cover as tall
as the page on the right.
- Browse: every entry is a button with a small cover, as many across as
fit, under the app's headings. In a folder, the way back up and the
folder's name sit in the screen's header instead of a row of their own.
- Up next: slimmer rows, so four or five show.
Taller screens keep their layouts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>