Repository navigation
Releases
Latency Analyzer 0.6
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.5-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.3.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
This release updates Latency Cam only. The Windows files are the same as in 0.5, attached again so this release has everything you need. Latency Cam 0.3 installs over 0.2.1 as an update and keeps your recordings.
What's new in Latency Cam 0.3
- Saved runs: the Results tab lists every run saved in
Download/LatencyCam, newest first, with its test name and when it was recorded. Tap one to open its report. A run that was never analyzed is marked "not analyzed", and tapping it offers to upload and analyze it now. Runs analyzed from now on also show their host present → photon medians in the list. - Deleting runs: long-press a run to start choosing runs to delete, and tap others to add or remove them. Select older adds every run below the one chosen last. Delete asks once, saying how much space it frees, then removes each run's video, timing file, report and summary.
- Runs from an earlier install: Android doesn't count files saved before the app was last reinstalled as the app's own. Show older runs asks once for the
Download/LatencyCamfolder in Android's folder picker, after which those runs are listed and can be deleted too. - Host field applies as you type: clearing the host field, or typing a whole IPv4 address, takes effect at once, without pressing Done. A host name or a partly typed address applies on Done, leaving the field, Record, switching tabs or leaving the app.
- Locked while recording: the test name and host fields and the Results tab are disabled while a recording runs.
- Clearing a field with its ✕ no longer opens the keyboard.
What's fixed
- A typed host was ignored without Done: typing a new host and then pressing Record, switching tabs or leaving the app kept the old host, though the field showed the new one. Clearing the field with ✕ didn't go back to finding the host either.
- "Unknown host" disappeared at once: the message is now kept on the sync line, and says which host the clock sync is still using.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.6 tag (the Windows files were built from v0.5). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.3.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.5
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.5-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's new
- Host present → photon, by source: with Sunshine's frame log, each run's report shows what each source measures on the host present's timeline, above the pipeline's stages. There is one bar for the camera (host present → photon), one for Sunshine (host present → capture, then capture → frame sent) and one for Moonlight (capture → first packet → client present, starting at Sunshine's capture through Moonlight's clock sync). Dashed lines mark where they meet. The client present → photon, worked out as the camera's time minus the others', is hatched at the end of Moonlight's bar.
- Summary tiles: the report now leads with host present → photon for frames turning white and black, the numbers the by-stage bars end at, in place of the flips' and every frame's medians of both edges together. The capture → photon tile is gone, as the pipeline shows it, and frames not seen are a line under the uneven frame intervals. Tiles sit three to a row.
- Trigger flip chart: flips turning white are outlined circles and flips turning black filled ones, in the colours the every-frame chart uses.
- Stage table: a long aside in a stage's name, such as "(Moonlight's capture to present)", goes on a smaller line of its own so it no longer widens the column.
What's fixed
- No false "frames queuing" note with RTSS at the display's refresh rate: when RTSS capped the test app at the same rate as the display (97 fps on 97 Hz, say), the report said frames were queuing on the host and adding a frame or two to every latency, which they weren't. A known RTSS limit the app presents at now reads as the frame limiter, and the note says whether that is at, below or above the display's rate. A limit above the refresh rate, with the app held back to the display's rate, still reads as a queue.
- Latency Cam and
latency-test.exeare unchanged; the APK is attached again so this release has everything you need.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.5 tag (the APK was built from v0.2.1). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.4
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.4-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's fixed
- Frames captured late in the frame are matched to the right capture: with Sunshine's frame log, each test app present was matched to the first capture from 2 ms before it to 8 ms after it. When a frame reached the desktop more than 8 ms after its present (9.4 ms was seen on a 119.88 Hz host display at 97 fps), it took the previous frame's capture instead: host present → capture read about −0.9 ms, and every stage from the capture to the photon came out a whole frame too long. A present is now matched to the first capture at or after it, up to 50 ms later, and when one capture takes several presents it goes to the newest. Recordings whose frames were captured within 8 ms analyse exactly as before. Delays longer than a whole frame interval still can't be told apart from one a frame shorter.
- Latency Cam and
latency-test.exeare unchanged from 0.3; the APK is attached again so this release has everything you need.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.4 tag (the APK was built from v0.2.1). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.3
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.3-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's new
- Host present → photon, by stage: each run's report now shows where the time goes, as one stacked bar for frames turning white and one for black. The bars are built from the stages' medians and end at the measured host present → photon. Host, network, client and client display each have their own colour, and hovering a segment shows its stage. The comparison report draws the same bars for each run.
- The network on its own: with Sunshine's frame log and Moonlight's pacing trace, Sunshine's send times are placed on the client's clock through Moonlight's clock sync. This adds two stages: header sent → first packet and last sent → last packet. Sunshine sends while it is still encoding, so the bars show the network twice, once before the first packet arrives and once before the last.
- Sunshine session traces: the analysis reads a Sunshine session trace folder (
--session-trace, or the onelatency-test.exenoted next to the recording):host-frames.csvandclient-pacing.csv, including its later segments. The trace's ID is recorded in the summary. latency-test.exenotes the traced session it runs in, fromSUNSHINE_SESSION_TRACE_IDandSUNSHINE_SESSION_TRACE_DIR, next to each recording inNAME.session-trace.json. Analysing the recording again then finds the trace on its own.- Latency Cam is unchanged from 0.2.1 and is attached again so this release has everything you need.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.3 tag (the APK was built from v0.2.1). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.2.1
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.2-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's new
- Latency Cam keeps clear of the camera cutout: on Android 15 and later the app is drawn edge to edge, so in landscape the preview ran under a camera cutout such as the Pixel's. The recording screen and the report now stay inside the cutout's safe area and clear of the system bars.
- Editing the fields in landscape: the keyboard no longer opens its own full screen editor, which ran under the cutout and hid the app; you type in the field itself. The app also keeps clear of the navigation bar while the keyboard brings it back.
- Clear buttons beside the test name and host fields.
- Tap the preview to pause the camera, and again to resume it. It can't be paused while recording or saving, and a session QR link resumes it.
- Confirming the test name at upload: Upload & analyze asks you to confirm the test name or change it, or leave it blank to upload without one. A changed name keeps the recording's time stamp and renames its files on the phone to match, including the video's name inside the timing file.
- QR code instructions are centred over the preview, clear of a camera cutout.
- The Windows exes are unchanged from 0.2 and are attached again so this release has everything you need. The 0.2.1 APK installs over 0.2.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.2.1 tag (the Windows exes were built from v0.2). The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.1.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.2
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.2-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.2.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the display |
latency-test.exe and latency-analyzer.exe are also attached on their own. Windows may warn about the unsigned exes. See the README's Quick Start for how to run a test.
What's new
- Comparing a stream with a baseline: a comparison always takes a local run (the test app on the client itself) as its baseline, whichever order the runs are given in, and shows the difference as the time streaming adds.
- Background noise and the baseline: drawing the noise costs the client's GPU time that a stream's client doesn't spend, which made what streaming adds read about 1 ms low in one test. Record the local baseline with
--no-noise. N now notes noise changes in the logs, reports show whether the noise was on, and a comparison flags a local baseline that had it on. - Runs without their video:
latency-analyzer.exerun without arguments now lists analysed runs whose video has been removed, so they can still be compared, and also looks at run folders in the current folder. - Reports describe the run as the test pattern instead of a stream, since it may be a local run.
- The Windows zip holds both exes, and is what Sunshine's Latency Test plugin downloads.
- Latency Cam is unchanged apart from its version number.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.2 tag. The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.2.apk: ZXing core (Apache 2.0)
Latency Analyzer 0.1
First release of the latency analyzer.
| File | Goes on | What it is |
|---|---|---|
LatencyAnalyzer-0.1-windows.zip |
The PC running the test (the streaming host, to measure a stream): unzip both exes into one folder | latency-test.exe, the test pattern, clock sync and upload server, and latency-analyzer.exe, which analyses uploaded recordings |
LatencyCam-0.1.apk |
The phone (Android 12 or newer, with a back camera that films 1920x1080 at 240 fps) | Films the client display |
latency-test.exe and latency-analyzer.exe are also attached on their own, as before. Windows may warn about the unsigned exes. See the README for how to run a test.
Licences
This project is licensed under the GPLv3, and this release's source is at the v0.1 tag. The files above also contain third-party software under its own licence:
latency-analyzer.exe(in the zip), bundled with PyInstaller: Python 3.13 (PSF License), NumPy (BSD-3-Clause and others), OpenCV from opencv-python (Apache 2.0) and the FFmpeg library that comes with it (LGPL 2.1)latency-test.exe(in the zip): QR Code generator by Project Nayuki (MIT)LatencyCam-0.1.apk: ZXing core (Apache 2.0)