New in 0.3.0
Starwire 0.3.0 is now out! This release has two flagship features: DualSense adaptive triggers over
Bluetooth, and USB device passthrough from your Android device to your PC. Both were requested on
the
0.2.0 post:
u/satanasluciferi asked for full DualSense support, and u/Mugas90 asked for USB passthrough like
Moonlight V+ offers.
Android does not give apps a public way to send trigger effects to a DualSense over Bluetooth.
Vibepollo already sends a game’s trigger effects to the client when it emulates a DualSense, so
Starwire now passes those effects on to the controller through a hidden Android Bluetooth function,
using an approach ported from Moonlight V+. USB passthrough works differently: a wired device
plugged into your Android device, such as a controller, a racing wheel or a headset, is shared with
your PC over an encrypted connection, and Windows sees it as though it were plugged into the PC
directly. Both features are Experimental and switched off by default, because they rely on parts of
Android and Windows that I cannot fully control.
One thing I want to reiterate: I continue to use Starwire as my daily driver, and so I will continue
to update it. These continued updates are due to my own usage and the trust existing users have put
in me and this project. I know this community is going through major fork exhaustion, and I don’t
want you to feel like there is a pressing need to change a client that already works for you. I am
confident Starwire can and will go punch-for-punch with any Android client out there. We may never
beat the AI-slop allegations, but I endeavor to try. Aside from that, I’ve spent the last few weeks
dealing with an uptick of work from my day job, and with my free time, playing the hell out of
Phantom Blade Zero through Starwire as we wait for GTA 6. Highly recommended if you’re into
Soulslike’s and don’t mind some QoL improvements forced on you. This time has also given me the
opportunity to thoroughly use and test the previous 0.2.1 build, and the new 0.3.0 build at 4K 165
FPS with DS Haptics. I also see that there have been a few pull requests on the GitHub repo - I
promise to get to that as soon as possible!
⬇ Download Starwire 0.3.0
What three trigger effects feel like, drawn. Each was felt on a real DualSense on 26 October, sent by a test app, and Starwire itself has since passed a game's own effects through in a stream.
|
Plug it into your tablet, pick it in the stream menu, and use it on your PC. An illustration: so far I have only shared a DualSense, by cable; the device rules also allow wheels, flight sticks and headsets.
|
Try it yourself: the Starwire Trigger Lab
shows what each trigger effect feels like. Choose an effect, then drag the trigger down. The page is
only an illustration of the effects.
I want this release to be worth your time, so below is how each feature works, how I tested it, and
where it still falls short.
How it works
DualSense trigger effects. When Vibepollo emulates a DualSense, it sends the game’s adaptive
trigger effects to Starwire along with the rest of the controller data. Starwire builds the
DualSense’s Bluetooth output report (report 0x31, 78 bytes, ending in a CRC-32) and sends it to the
controller through Android’s hidden BluetoothHidHost.sendData function, which it reaches with
LSPosed’s HiddenApiBypass library. Only the trigger modes described in Nielk1’s public DualSense
notes are passed on, and any other mode turns the trigger off. This keeps out the controller’s debug
modes, which can leave a trigger stuck until the controller is reset. Every time the controller
connects, Starwire checks that the link works. If anything fails, it falls back to the usual
controller path, and the status line on the DualSense settings page explains why. For games that
send no effects, there are four presets (light resistance, gun click, heavy pedal and buzz) and a
strength setting with 8 steps. Rumble and the light bar stay on Android’s usual path, as before. I
have not yet checked either of them during a stream with trigger effects on.
USB device passthrough. During a stream, the stream menu has a new USB devices page that lists
what is plugged into your Android device. When you select a device, Android asks for permission, and
Starwire shares the device through a USB/IP server inside the app (Moonlight V+'s exporter, by
qiin2333 and CLF, built on yunsmall’s usbipdcpp). The connection to the PC is encrypted with TLS 1.2
or 1.3 and tied to the microphone pairing from 0.2.1, so only an Android device that is paired with
the PC’s microphone receiver, and that you have ticked under “Allow USB for” in the helper’s menu,
can share anything. On the PC, Starwire’s USB helper attaches the device with usbip-win2’s driver,
which is the same driver Vibepollo installs for its DualSense haptics, and Windows sees it as though
it were plugged in directly. Selecting the device again, unplugging it or ending the stream gives it
back to your Android device.
Before anything is shared, Starwire’s device rules decide whether it may be. Controllers, racing
wheels, flight sticks and audio devices are allowed. Keyboards and mice ask for your confirmation
every time. Hubs, storage, network adapters, vendor-specific devices (which includes wired Xbox
controllers for now) and USB 3 devices are refused, and the page shows the reason.
Test results
I performed the following device tests on 16 November on my RedMagic Astra tablet (Android 16) with
a DualSense controller, streaming from my Windows 11 PC with Vibepollo. I used a debug build of
0.3.0 from that day, which I installed over the debug build of 0.2.1. Three changes were made to
0.3.0 after that build, and I describe them after this list:
- With the DualSense paired over Bluetooth, Starwire found the controller, and the status line said
“DualSense found”. When I pressed the Test button, I felt the gun click in both triggers.
- In Phantom Blade Zero, the game’s own adaptive trigger effects came through to the DualSense
during a stream. L2 was hard to pull when the character had no resources for the skill, and in the
game’s menus, the trigger effects switched off and on as expected. Afterwards, the status line
showed no fallback for that stream, which means that Starwire did not have to go back to the usual
controller path.
- On my PC,
setup-usb.cmd, as it was before the helper had its own icon, installed and started the
USB helper. After I turned on sharing and ticked my tablet in the helper’s menu, I plugged the
DualSense into the tablet with a cable and shared it from the stream menu. The helper logged the
share and attached the controller, Windows showed a working “DualSense Wireless Controller” with a
HID-compliant game controller, and I used it as a game controller on the PC.
- I stopped the share three times, and each time the DualSense went back to the tablet and worked
there again. On the first of those stops, the controller reset on the tablet, which I describe
under Known limitations.
- Back opening the stream menu, and the new Brightness item in the stream menu, both worked during a
stream.
- Installing the debug build of 0.3.0 over the debug build of 0.2.1 kept my paired PC, so the tablet
streamed from it without pairing again. It also kept the microphone pairing, as the USB helper
accepted the tablet’s pairing key. After the release, I installed the released 0.3.0 APK over the
released app I already had on my tablet, and it updated in place and kept my settings.
The three changes that came after that build are the USB helper’s own icon by the clock, a stream
menu that fits up to seven buttons per row on wide screens such as tablets, and a fix for a long
press in direct touch mode, which came through on the PC as a left click with Vibepollo. Later that
day, I tried a test build with the first version of the long press fix and the new menu layout:
- In direct touch mode, a long press now gave a right-click on the PC.
- The new menu looked good on my tablet, with one empty space in its third row. That build left out
the menu’s Sensitivity button, so the menu had 20 buttons, in rows of seven, seven and six.
Then I tried a later debug build, whose app code is the same as the release’s apart from some credit
and licence text in Settings:
- The stream menu showed all 21 buttons in three full rows of seven, with the Sensitivity button
back.
- In direct touch mode, a long press still gave a right-click, and a quick double tap gave a
double-click on the PC.
Starwire’s own test suite for Android devices then ran on the final debug build, which has the same
app code as the release: 146 of its 147 tests passed, and 1 skipped. The skipped test recreates a
screen, which the phone maker’s game mode on my tablet turns into a crash (more under Known
limitations). Earlier that day, one test failed because of a mistake in the test itself, which I
fixed, and the screen-recreating test crashed the app before it learned to skip there.
The rest of the testing was done earlier, on a computer, or on GitHub:
- Before all of this, on 26 October, a small test app on the same tablet sent four trigger effects
to a DualSense through the same hidden function: firm resistance, a weapon click, a vibration and
off. All four felt as expected, and the test app also changed the light bar.
- On my PC, 1,072 automated tests pass for the app, and the USB helper passes 201 checks of its
driver side and 378 checks of its encrypted tunnel, both as a 64-bit and as a 32-bit program.
- The emulator tests, which run Starwire on 17 virtual Android devices, ran on GitHub when the
release was published. Starwire’s own test suite had no failures on any of them, and 16 of the 17
passed. On the 1080p handheld with Android 13, one extra check failed: the app was not in front
after a virtual gamepad pressed down, down, A and B. That check has failed there in every emulator
run since 0.2.1, including the run for the 0.2.1 release, so the problem is older than 0.3.0. I
have not found the cause yet. The Android 9 handheld skipped the same check, because that version
of Android has no tool for making a virtual gamepad. The results are in
this release’s run on the
Actions page.
The four effects the test app sent on 26 October, before Starwire itself passed a game's effects through.
Development decisions
- A hidden Android function: Android has no public way to send these reports, so Starwire uses a
hidden one. It works on my tablet, but an Android update could change or remove it, which is why
the setting is Experimental and why Starwire checks the link every time the controller connects.
Android also has a second function for this,
setReport, but in the 26 October check on my
tablet, it reported success while doing nothing, so Starwire only uses it on a device that does
not have sendData.
- Only documented trigger modes: The controller has modes that are not publicly documented, and
some of them can leave a trigger stuck. Starwire only passes on the modes in Nielk1’s notes and
turns the trigger off for anything else.
- USB is tied to the microphone pairing: The key for USB is derived from the microphone pairing,
and it is never the microphone key itself. An Android device that is not allowed is only told so
after it proves that it holds the right key, so a stranger on the network cannot find out which
devices are allowed.
- The helper never installs or changes a driver: It only uses usbip-win2 if the driver file
matches a known SHA-256 fingerprint, and it only ever unplugs devices that it attached itself, so
it does not touch Vibepollo’s own devices.
- Built on your PC: Like the microphone receiver, the USB helper has no prebuilt .exe. The setup
compiles it with the C# compiler that ships with Windows, so what runs is the source code in the
zip.
- Home networks only: The helper listens on TCP port 6981, and its firewall rule only allows
home and work networks (Private and Domain), not public Wi-Fi.
Installation
- Install
Starwire-0.3.0.apk from the
release. It uses the same signing
key as before, so it updates in place: on my tablet, it installed over the released app I already
had and kept my settings. The microphone receiver on the PC has not changed, so you do not need to
set it up again.
- For DualSense trigger effects: pair the DualSense with your Android device over Bluetooth. In
Starwire, turn on Settings → Controllers → DualSense (Experimental) → Trigger effects, and
allow the Nearby devices permission when Android asks. On the PC, Vibepollo has to emulate a
DualSense: on mine, its Emulated Gamepad Type was set to Vibepollo Virtual Gamepad (automatic).
The Test button sends one effect, so you can check the triggers before you start a stream.
- For USB devices: set up the microphone receiver and pair your Android device with it, if you
have not done so already. Install usbip-win2’s driver, version 0.9.8.1 (the one Vibepollo’s
DualSense haptics use). From the same release, unzip
Starwire-Microphone-for-Windows.zip and
double-click setup-usb.cmd, which builds the helper, installs it, adds its firewall rule and
starts it. Right-click the helper’s icon by the clock, turn on Let paired phones share USB
devices, and tick your device under Allow USB for. In Starwire, turn on Settings →
Controllers → USB devices (Experimental). During a stream, open the stream menu, go to USB
devices and select the device.
setup-usb.cmd -Uninstall removes the helper and its firewall rule, and it leaves the microphone
receiver and its pairings alone. On my PC, setup-usb.cmd installed and started the helper, but
that was before the helper got its own icon, and I have not run the new setup yet. Mine is also the
only PC on which it has installed the helper so far, so if it gives you any trouble, a GitHub issue
would help a lot. The full guide is here.
Known limitations
- Trigger effects need Android 12 or newer and a DualSense paired over Bluetooth. A controller
connected by cable is not supported for trigger effects yet.
- I have not yet tried Starwire’s trigger presets, apart from the Test button’s gun click, or the
strength steps on a controller. The trigger effects that I have felt through Starwire are the Test
button’s gun click and the game’s own effects in Phantom Blade Zero.
- USB passthrough shares one device at a time and needs a 64-bit ARM Android device with Android 9
or newer. The PC side is Windows only.
- So far, the DualSense is the only USB device that I have shared, so I have not tried a racing
wheel, a headset or any other device yet.
- When I stopped sharing the DualSense, it once reset on the tablet and reappeared as a new USB
device, so Starwire ended that share as though the controller had been unplugged, rather than as a
normal stop. The controller still came back to the tablet and worked afterwards. This happened on
the first of my three stops.
- Wired Xbox controllers and USB 3 devices are refused for now.
- The device rules go by what a device reports about itself, so a device that misreports what it is
could reach a Windows driver that is meant for the device it claims to be.
usb-protocol.md has the details.
- The USB helper’s tooltip by the clock starts with “USB/IP driver” instead of naming Starwire.
- On my RedMagic Astra, with nubia’s Easy Touch accessibility service turned on, Android lost about
40 percent of the button presses from my GameSir G8+ controller, and some of its button releases,
before they reached Starwire. As a result, some presses were missed, and some buttons stayed held
on the PC for seconds. Turning Easy Touch off fixed it: in the same test, only 1 percent of the
presses were lost. Other apps that filter key presses through Android’s accessibility settings
might do the same, but Easy Touch is the only one that I have tested.
- On my RedMagic Astra, the phone maker’s game mode crashes Starwire when one of its screens is
recreated while it is open, as two of Starwire’s tests do. The crash is in the phone’s own code.
Starwire does not recreate its screens itself, but Android does after some changes, such as a new
display size or language. I have only seen this crash in tests.
- With Flip face buttons turned on, the Quit Session question does not swap A and B the way the menu
does.
- Once the left edge swipe is turned on, a slow drag to the right from near the left edge opens the
slider too, which is why the swipe is off by default.
Also in 0.3.0
Several of these came from comments on the
last post:
- Back opens the stream menu instead of ending the stream, and it is on by default. To leave a
stream, use Disconnect or Quit Session in the menu, or turn this off in Settings → In-stream
menu. Thank you to u/Glove5751 for asking for it. The idea comes from Artemis, by way of
Artemide.
- The brightness slider is now a Brightness item in the stream menu, so a tap near the left edge
goes to the game. A swipe in from the left edge can still open the slider once you choose that
under Left edge swipe action, and the slider now hides two seconds after your last change.
Thank you to u/zolidz64 for reporting it. These changes come from Moonlight X.
- Controller vibration strength, from 0 to 100% of the game’s rumble.
- Shortcuts for Windows’ virtual desktops on the stream menu’s Shortcuts page: Win+Ctrl+Left,
Win+Ctrl+Right and Win+Tab.
- Quit Session asks first, because it closes the game on the PC. From Moonlight X.
- “Display on the PC” is now called Virtual display. Thank you to u/elenayebenes for asking
about it.
- Multi-touch mode sent mouse clicks to the PC instead of touches. Each finger is now a touch of its
own.
- A button or key that was held down when the stream menu opened no longer stays pressed on the PC.
- Prevent packet loss sent a packet type that Sunshine, Apollo and Vibepollo do not recognise, which
filled Vibepollo’s debug log with about 50 lines a second. It now sends a ping instead.
- If you change the bitrate twice in a row during a stream, your latest choice now wins. The idea
comes from Moonlight V+.
- The left part of the stream menu was cut off when the floating menu button was turned off, no
matter how the menu was opened. The whole menu now shows. Thank you to SippyCupXIII for reporting
it on an AYN Odin 2 Portal (GitHub #14).
- In the gaming trackpad mode, dragging after a long press used the right mouse button, so a drop
ended in a right-click. A long press followed by a drag now drags with the left button, and a long
press without moving is still a right-click. Thank you to kayakyakr for reporting it (GitHub
#5).
This is an illustration. The menu comes from the app's own screenshot test from before 0.3.0's wider tablet menu, with the game's name replaced, and the stream behind it is a drawing.
The release notes and
CHANGELOG.md have every change in full, and Where every feature comes
from says who made each part.
Coming in 0.4.0
What's planned for 0.4.0.
- Dual screens on the AYN Thor: the game alone on the top screen, and on the bottom screen, the
stream menu with a trackpad, the whole screen as a trackpad, or a second PC monitor you can touch.
- Settings profiles: switch a whole setup at once, like folded and open on a foldable.
- A microphone receiver for Linux PCs, from a community pull request.
- A local cursor: Starwire draws the cursor itself, so it moves the instant your finger does.
Why I made Starwire
I have been exclusively streaming games from my headless PC to client devices for about five
years now. I recently found myself looking for a new Android client, and came upon
MoreOrLessSoftware’s
Moonlight X, which includes direct
frame pacing and PyroWave support. It had a noticeable impact on my stream quality, even without
using PyroWave (I don’t have the connection strength to use it in practice), but I wondered how
the stream could perform if it had the Fast V-Sync, LFR, Async, and Codec options that
Artemis/Artemide has. I also missed some QoL features that the recent Windows forks have adopted
that seem to be lagging in terms of an Android client equivalent.
Back-end development started from
Moonlight X’s video pipeline, adds
the touchscreen tools from Artemide and
Artemis, and picks up favourite features
from Moonlight V+,
Moonlit Artemis and
Moonlight X Turnip. I then gave it a refreshed UI
that draws from some of the trends coming out of Silicon Valley these days. It installs next to
any Moonlight you already have, so you can try it without giving anything up.
Features
🎨 A look that follows your game
The screens take their colour from the game you’ve picked. Games without cover art each get
their own take on the Starwire tile, and apps like Steam Big Picture get their own icons. Your
last game is ready to go with one tap, with its stream settings right under its name, and a Quit
button sits beside Resume while it runs.
🎮 Everything during a stream, one tap away
Open the menu with Back, the floating button, a three-finger tap or by holding Select on a
controller. Keyboard, full on-screen keyboard, mouse modes, zoom, key shortcuts, monitor
switching, bitrate, brightness, clipboard: it’s all in one grid, and works with a controller
too. Anything that turns on and off has a small switch, so you can see what’s on at a glance.
⚡ Low-latency video options
Moonlight X’s Vulkan renderer and PyroWave codec, and the low-latency options from Artemis and
Artemide: Warp Drive, Fast V-Sync and async decoding. I ported them, but I haven’t measured how
much each one saves in Starwire yet.
|
The in-stream menu over Aniimo on my tablet. Stats and the menu button are switched on. Aniimo © Pawprint Studio.
|
Redesigned settings, with the Predicted impact panel on the right.
|
🧭 Feature-packed and intuitive settings
Sections with plain names (Stream, Sound & vibration, Controllers…), and a Predicted impact
panel that shows whether your choices lean towards fastest response or smoothest motion, and
which setting is pushing it which way. Tap a setting that came from another fork and a small
line under the panel says where it came from and who made it.
🖐 Made for touchscreens
Pinch to zoom anytime, trackpad modes, long-press to right-click, an on-screen keyboard with
every key, and the option to hide the PC’s mouse pointer while you play.
📳 Feel the bass
Audio haptics turns a game’s bass into vibration on your device or controller.
🎙 Your microphone on the PC
Talk in game chat or Discord through your device’s microphone, with Vibepollo, Sunshine or
Apollo as they are: one setup script on the PC, one switch in Starwire, and a code to pair
them once. The audio is encrypted, and only devices you’ve paired can send it. See
New in 0.2.0 for how it works and how to
set it up.
|
🎯 Adaptive triggers on a DualSense
Experimental, from 0.3.0. A DualSense paired over Bluetooth receives the game’s own trigger
effects from a host that sends them, or one of four presets for games that send none, with 8
strength steps. It needs Android 12 or newer. In a stream of Phantom Blade Zero on my RedMagic
Astra tablet, the game’s own effects came through to the controller. Apart from the Test button’s
gun click, I have not yet tried the presets or the strength steps on a controller.
|
🔌 Your phone’s USB devices on the PC
Experimental, from 0.3.0. Plug a wired controller, racing wheel, flight stick or headset into
your phone or tablet and use it on the PC you are streaming from, through an encrypted connection
and a small USB helper on the PC. It shares one device at a time and needs a 64-bit ARM device
with Android 9 or newer. I have shared a DualSense from my RedMagic Astra tablet with my Windows 11
PC this way and used it on the PC. The USB helper guide covers the PC
side.
|
Aniimo streamed to my RedMagic Astra, with the Lite stats line at the top. Aniimo © Pawprint Studio.
Get started
- Set up your PC. I use Vibepollo, and it’s the only
host I test with; it supports every feature. Apollo
and Sunshine should work too, since Vibepollo is built
on them, but I haven’t tried them myself. Some extras need Vibepollo or an Apollo-based host,
and the feature tables below mark them. On Sunshine that means no clipboard sharing, PC
commands, Virtual Display, changing the bitrate mid-stream or hiding the PC cursor.
- Install Starwire. Download the latest
Starwire-…apk from the
Releases page and open it.
- Pair. Tap your PC, then type the PIN Starwire shows into your host’s PIN page (usually
https://localhost:47990). You only do this once.
- Play. Tap a game, then Play.
Android 5.0+. PyroWave, the experimental custom Turnip driver option and USB devices need a
64-bit ARM device, and USB devices need Android 9 or newer. DualSense trigger effects need
Android 12 or newer. Updates from the Releases page install over the top and keep your settings,
and Obtainium can keep it updated for you.
New in 0.2.0: your microphone on the PC, with any host
Mic passthrough was a highly requested feature after the 0.1.0 launch, and one of the last things
keeping a Moonlight stream from feeling like you’re really sitting at your PC. Parsec has had it
for years, but with Moonlight it meant switching your PC to a host build that has a mic channel,
like logabell’s Apollo fork. Most of us don’t want to swap host programs, and I wasn’t keen on
giving up a Vibepollo setup that already works flawlessly.
So this works without touching the host: Starwire sends your mic straight to the PC as VBAN
(VB-Audio’s network audio format), a small receiver plays it into VB-Cable, a free virtual
microphone, and Discord or the game picks it up as a normal mic. Vibepollo, Sunshine and Apollo
stay exactly as they are, and the mic starts and stops with the stream, with no separate mic app
like WO Mic or AudioRelay to open on your Android device each time.
This is 0.2.0's path. From 0.2.1 each VBAN packet travels encrypted inside Starwire's SWMC format, and the receiver only plays audio from devices you've paired, through WASAPI. How it works, below, has the details.
- On the PC, download Starwire-Microphone-for-Windows.zip from the
latest release, unzip it and
double-click
setup-microphone.cmd. It needs nothing installed first: it builds the receiver
with the compiler that comes with Windows, downloads VB-Cable from VB-Audio if you don’t have it
(and checks VB-Audio signed it), lets the receiver through the firewall for local and private VPN
addresses only, starts it when you sign in and checks the virtual mic works. The receiver has no window, just an icon by
the clock. Full guide.
- In Discord or the game, choose CABLE Output as the microphone.
- In Starwire: Settings → Sound & vibration → Send my microphone.
- Pair them, once: on the PC, right-click the receiver’s icon by the clock, choose Pair a
device…, then Show the code. In Starwire, tap Pair with the PC under Send my
microphone, pick the PC and type the code.
All of this is automatic: one double-click runs the PowerShell setup, which builds and starts the receiver, installs VB-Cable if it's missing, adds the firewall rule and checks the virtual mic. This is it finishing on my PC.
The receiver has no window: right-click its icon by the clock to pair a device, see the paired
devices, check the virtual mic, play a test tone for Discord’s mic test or quit (or end it in Task
Manager). Measured with 0.2.0, before the encryption, on my tablet over Wi-Fi: 16,880 packets in
90 seconds with none lost, no gaps in the receiver’s buffer (usually 30 to 50 ms queued) and about
0.85 Mbps of upload. The raw data and a script that recomputes every number are in
docs/measurements.
Please read this before you use it. From 0.2.1 the microphone is encrypted, and the receiver
only plays audio from devices you’ve paired with that PC. Being on the same network is no longer
enough to listen to it or to send sound into your PC’s virtual mic, and the encryption doesn’t
need Tailscale or a VPN like it. Three things to know:
- Updating from 0.2.0 needs both sides: the app and the PC setup, then pairing once. A 0.2.0
receiver won’t understand the new app, and the new receiver refuses 0.2.0’s unencrypted audio.
- Don’t show the pairing code while your screen is shared. Anyone who sees it before you’ve
typed it could pair instead of you.
- “Not encrypted”, the option for Voicemeeter and other VBAN apps, sends plain VBAN, like 0.2.0
did. Anyone on the same network can listen to that or send sound into it, so use it only on a
network you trust. Starwire’s receiver only plays plain VBAN if you set it up with
-AllowUnencrypted, and then anyone on the network can send sound into it too.
SECURITY.md says what the encryption protects against and what it doesn’t. If your
PC runs logabell’s Apollo build, you can
send the mic over the stream itself instead.
Encrypted, and only from paired devices. You pair each Android device with the PC once: the
receiver shows a 16-character code and you type it into Starwire (Settings → Sound & vibration
→ Send my microphone → Pair with the PC). The code authenticates a key exchange, so the device
and the PC end up with a key nobody else on the network has. Each stream then gets its own
AES-256-GCM key, every packet is encrypted and authenticated with a counter that only goes up,
and the receiver refuses anything it can’t check: devices it hasn’t paired, recorded packets sent
again, and plain VBAN.
What’s tested: the app and the receiver give the same bytes for a shared set of test vectors, the
app’s pairing and sender work against the receiver on one PC’s loopback (every packet played in
order, a replayed, a late, two forged and one plain VBAN packet refused), and the app’s side runs
on my tablet, where encrypting took about 6.5 microseconds per packet in a benchmark. On 23 Oct I
streamed from my tablet to my PC over Wi-Fi with a receiver that only takes encrypted audio, and
the sound came through only while the stream ran. I didn’t count dropouts in that test. The format
is in docs/dev/mic-protocol.md.
How it works and what I measured
On the Android device, Starwire records with AudioRecord using the VOICE_COMMUNICATION source and turns
on the platform echo canceller and noise suppressor where the device has them. It reads 20 ms at a
time and makes 48 kHz 16-bit mono PCM into VBAN packets: a 28-byte header and 256 samples per
packet, 187.5 packets a second. Each one is encrypted inside Starwire’s SWMC format (584 bytes
with its header and tag) and sent over UDP (port 6980 by default); the “Not encrypted” option sends
the plain VBAN packets instead. It sends to the PC you’re streaming from, so there’s no address to
type in, and it doesn’t ask the host for a mic channel.
On the PC, StarwireMicReceiver (two C# files, built on your PC from the source in the zip)
plays a packet only if it comes from a paired device, checks out under that stream’s key and has
a higher counter than any it has played. As an extra layer it still only takes packets from
local-network or private VPN addresses (a filter, not a security check). It plays into CABLE Input
through WASAPI, in 2.7 ms steps on VB-Cable, and uses waveOut’s 10 ms blocks (as 0.2.0 did) if
WASAPI doesn’t work. Playback starts once 40 ms is queued and never falls more than 120 ms behind.
The device’s and the PC’s clocks drift apart (about 60 ppm in my test), so the receiver notes how
low the buffer gets in the first 2 seconds, and when it then stays 10 ms or more above that for 2
seconds, it skips 10 ms to keep the delay down (with waveOut, when it stays above 60 ms for 2
seconds).
The packet, the receiver's rules and the chart are from 0.2.0, before the encryption. In 0.2.1 this VBAN packet travels encrypted inside SWMC. Two notes on the chart are rounded. Checked packet by packet, the network's own spread was 6.4 ms at p99 and 21.6 ms at worst, and the buffer dipped to 20 ms a few times but never ran dry. The data and the script give every exact number.
- With 0.2.0’s waveOut playback, on the PC alone, a packet took about 107 to 119 ms to be heard
on CABLE Output: 40 ms of buffer, the rest Windows’ audio path. With WASAPI in 0.2.1, in my
tests on the PC with recorded Wi-Fi timing, the median delay dropped from about 114 to 98 ms
(about 7 ms less with a steady clock). I haven’t measured the Android side yet.
- Echo cancelling is whatever the device provides, and some Android devices only apply it to
calls; headphones get around that.
- The setup and receiver are Windows only for now. On Linux, PipeWire’s VBAN receive module should
take the “Not encrypted” option’s stream (Stream1, UDP 6980), but I haven’t tried it.
- The receiver starts when you sign in, not as a service, so it doesn’t run on a PC sitting at the
sign-in screen.
Development
I made Starwire as a vibecoding exercise after experiencing the wonderful software that is
Vibepollo. I decided what the app should do and how it should look, and
Claude Code wrote the code. I also
used REA by morluto to look inside the other apps and see how
their features work. I test on my RedMagic Astra (Snapdragon 8 Elite, Android 16) with a GameSir
G8+ and a DualSense, streaming from Vibepollo, and on my Galaxy Z Fold 6. The on-device tests in
app/src/androidTest run on the tablet. Some things haven’t been tried yet: the custom
Turnip driver option with a real Turnip driver, and hosts other than Vibepollo.
CONTRIBUTING.md says how to build Starwire and run the tests.
What’s in this repo
| Folder or file |
What it is |
app/ |
The Starwire Android app, with its tests in app/src/test and app/src/androidTest |
usbip-backend/ |
The USB exporter that USB devices uses, from Moonlight V+, built on usbipdcpp and libusb (its README) |
windows/ |
The microphone receiver, the USB helper and their setup for the Windows PC |
docs/ |
Screenshots, the roadmap, where the prebuilt libraries come from, the mic measurements and maintainer notes |
.github/ |
The workflows that build, test and release Starwire, the issue forms, the release notes and the maintainer’s scripts |
CHANGELOG.md |
What changed in each version |
CONTRIBUTING.md |
How to build, test and send a change, and the rules for commits, branches and version numbers |
SECURITY.md |
How to report a security problem privately |
AGENTS.md, CLAUDE.md |
The rules for anyone changing Starwire, people or coding agents |
LICENSE.txt |
The GPL-3.0 licence |
.gitmodules |
Links moonlight-common-c, the streaming protocol library, from Starwire’s copy |
build.gradle, settings.gradle, gradle.properties, gradle/, gradlew, gradlew.bat |
The Gradle build settings and the Gradle wrapper |
.gitignore, .gitattributes |
Files kept out of the repo, and the shell scripts Git keeps with Unix line endings |
Changelog
The full list of changes in every version is in CHANGELOG.md, and
Coming in 0.4.0 says what’s planned next.
Earlier updates
Update (23 Oct)
Hey everyone - thank you so much for giving Starwire a chance, and for all of the meaningful feedback I’ve received thus far. I may never beat the “AI/Vibecoded Slop” allegations fully, but I promise to keep trying with my chin up haha.
After u/rambo3349 reviewed Starwire’s code and GitHub repo, I made a bunch of changes to hopefully resolve some of those issues. If there are any further issues with the code or Github repo, I will prepare a smaller release to address them (ex. 0.2.2) as opposed to making you guys wait for the next major release (0.3.0, which I am targeting for early next week).
In the longer-term pipeline (0.4.0), I noticed a lot of users are connecting from an Ayn Thor or similar DS device. I’m actually super jealous, my Thor should arrive in the next month and on that front I’m wondering what you guys would like to see in terms of “DS features” in future Starwire releases.
Aside from that, here are the release notes for 0.2.1, which is out now (download):
Release notes for 0.2.1
Following u/rambo3349’s code review (already live on GitHub):
- Real commit history: every commit now has its own description, and the repo shares history with Moonlight X again, so upstream updates can be merged properly.
- Prebuilt libraries: every one is traced back to its source and rebuilt byte for byte by GitHub (PROVENANCE.md).
- Clearer about what’s experimental: the custom Turnip driver is now described as an experimental option, not listed with the speed features.
- Mic measurements: the 0.2.0 numbers are published with the raw data and a script that recomputes them (here), with two rounded numbers corrected.
- Security and contributing: a SECURITY.md with private vulnerability reporting, and a CONTRIBUTING.md.
- Checksums are on the release pages, so you can check your download.
What’s new in 0.2.1:
- Encrypted microphone: the mic is now encrypted, and only devices you’ve paired can send audio to your PC. Being on the same network is no longer enough, and encryption no longer requires Tailscale or a similar VPN.
- Less mic delay: the PC side plays through a faster Windows audio path. In my tests the median delay dropped from about 114 to 98 ms, with far fewer dropouts.
- The mic setup window fits small screens, like a 1280x720 stream.
- Custom resolutions and frame rates, in the main settings and per game. These come from Moonlight X, credited to them.
- An about page with credits and the full open-source licences.
- The floating menu button stays where you put it, for each orientation.
- The custom driver option is marked experimental, with a plain warning before you turn it on.
- Various other small cleanups to the Github repo and changes to wording for transparency.
Fixes
- The PC’s cursor comes back if Starwire is closed or crashes while it’s hidden, and there’s a “Fix PC cursor” button in the stream menu.
- No more “PC not paired” flicker on the games screen.
- No more crash on RedMagic devices when the games screen resizes.
- No more crashes from some unusual host replies, or on the resume button on Android 5 and 6.
- A rare video mix-up with async decoding after a hiccup is fixed.
- On Android 5 to 7, the background animations now stop when animations are turned off (saves battery).
- The in-stream menu and the games screen fit small screens better.
Testing and Development
- 314 unit tests (from none), 32 of them screenshot tests, and 138 on-device tests.
- The same tests also run on 5 virtual devices, including a Fold shape folded, half-open and unfolded. (Thank you to u/MickeyBronson)
- Checks run automatically on every change.
Known issues
- Right-to-left languages (Hebrew, Persian) show translated text, but the layout doesn’t mirror yet.
- On very narrow screens, the Quit and Disconnect buttons can cut their labels short.
- The custom Turnip driver option still hasn’t been tried with a real Turnip driver.
Thank you all for your continued trust and engagement. Please keep an eye out for announcements re: 0.3.0. Cheers!
2026/10/22: Version 0.2.0
sends your microphone to the PC with any host (Vibepollo, Sunshine, Apollo), through a small
receiver and VB-Cable that one setup script installs. It also fits more Android devices
(settings were blank on narrow screens like a Galaxy Z Fold’s cover screen, and the game screen’s
header now scrolls away), adds a short “Impact:” line to the settings that affect latency and
performance, tidies the stream menu with on/off switches and a smaller floating button that
also closes it, puts a Quit button beside Resume, gives each game without cover art its own
Starwire tile, and fixes a crash when tapping a running Desktop tile. The release page has the full
list.
2026/10/22: Version 0.1.2
has been released, and fixes an error that caused the client to crash upon loading the list of
apps. To update, download the new APK and open it on your device. You will receive a prompt to
update the existing app, which will retain existing settings. Obtainium users should receive the
update automatically.
Where every feature comes from
Each feature below says where it came from:
- Ported from project (author): that project’s code, brought into Starwire and adapted.
- Idea from project (author): inspired by that project, but written new for Starwire.
- New in Starwire: written for Starwire.
Where a feature started in an older version and was carried forward (for example Artemis →
Artemide), both are named. Features marked (Apollo / Vibepollo) need an Apollo-based host.
Cover Glow, the new design
New in Starwire.
- Game screen: the selected game shown large with its cover, name, Play/Resume and its
stream settings as small tags. It starts on the game running on the PC, otherwise the one you
played last. While a game runs, Quit sits beside Resume. The top scrolls away with your games,
leaving a slim bar with the selected game and its Play button.
- Colours from the cover: the background and glow take the game’s cover colour and fade
between games. White text stays readable on every colour.
- Icons for apps without cover art: Desktop, Steam Big Picture, Playnite and similar apps get
an icon tile in their own colour instead of the host’s plain default image. Settings → App →
App covers can also use icons for every app, or only ever the PC’s covers.
- Starwire tiles for games without cover art: each game gets its own take on the tile,
worked out from its name (colour, ring angle, moon, glow and stars), so a row of them doesn’t
look the same.
- A little flair: the Starwire wordmark and the ring around the selected game slowly flow
through a rainbow, and a starfield with a few twinkling stars sits behind the screens. Covers
have soft rounded corners, arrive one after another and give a little when you press them, and
the selected cover floats gently. The looping animations pause while you stream.
- PC list: frosted cards and a frosted quick-settings bar.
- Settings: section buttons that jump to each section and follow you as you scroll, plain
section names (in English), and the Predicted impact panel on wide screens. It compares the
choices rather than measuring them.
- In-stream menu: a side sheet in the game’s colour with a grid of tools, usable with a
controller.
In-stream menu
The menu itself, its quick actions and custom commands come from Moonlight X
(MoreOrLessSoftware). Starwire adds:
| Feature |
Source |
| Floating menu button (tap to open, drag to move) |
Ported from Artemis (Yukino Song / ClassicOldSong), via Artemide |
| A smaller floating button that stays see-through until you touch it, and closes the menu too |
New in Starwire, on the Artemis button |
| The floating button stays where you dragged it, with a spot for landscape and one for portrait |
New in Starwire |
| From 0.3.0: Back opens the menu instead of ending the stream, and Back again closes it. It’s on by default, with a switch in Settings → In-stream menu. A short press of a TV remote’s Back opens the menu too. Tested in JVM tests and tried in a stream on my RedMagic Astra tablet, not yet on a phone or a TV |
Idea from Artemis (Yukino Song / ClassicOldSong), via Artemide. The TV remote part is new in Starwire, on Moonlight X’s remote handling |
| On/off switches on the items that toggle something, and the menu stays open when you tap them |
New in Starwire |
| The menu header shows the game’s cover art, or a Starwire tile for Desktop and games without art |
New in Starwire |
| From 0.3.0: up to seven buttons per row on screens about 1000 dp wide and up, such as a tablet held sideways, so all the built-in buttons show in three rows without scrolling. Phones and most handhelds keep up to five per row. Checked by tests and screenshots on a computer. Tried on my RedMagic Astra tablet in a test build that left out the Sensitivity button, with 20 buttons in rows of seven, seven and six. On a later debug build, with Sensitivity back, all 21 showed there in three full rows of seven |
New in Starwire |
| Shortcuts page: Esc, F11, Alt+F4, Alt+Enter, Ctrl+V, Win, Win+D, Win+G, Ctrl+Alt+Tab, Shift+Tab, Win+Shift+Left, Ctrl+Alt+Shift+F1/F12, Win+Alt+B |
Ported from Axixi2233’s Moonlight fork (axi), via Artemis and Artemide |
| From 0.3.0: Win+Ctrl+Left and Win+Ctrl+Right (previous and next desktop) side by side, then Win+Tab (Task View), on the Shortcuts page. Checked by tests, not yet tried in a stream |
New in Starwire |
| Custom shortcuts imported from a file (same JSON format) |
Format from Axixi2233’s fork (axi) and Artemis (Yukino Song); importer written new for Starwire |
| Task Manager (Ctrl+Shift+Esc) |
Ported from Artemis (Yukino Song), via Artemide |
| Rotate screen, Pan/Zoom mode (pinch to zoom, drag to pan, double-tap to reset) |
Ported from Artemis (Yukino Song), via Artemide |
| Touch mode picker (multi-touch, direct touch, natural and gaming trackpad, disabled, swapped clicks) |
Ported from Artemis (Yukino Song), via Artemide |
| Trackpad sensitivity, toggled from the menu |
Ported from Artemis (Yukino Song) and Axixi2233’s fork, via Artemide |
| Send / get clipboard (Apollo / Vibepollo) |
Ported from Artemis (Yukino Song), via Artemide |
| PC commands (run the host’s server commands) (Apollo / Vibepollo) |
Ported from Artemis (Yukino Song), via Artemide |
| On-screen full keyboard (82 keys, sticky Ctrl/Alt/Shift/Win, vibration) |
Ported from Axixi2233’s fork (axi) and Artemis (Yukino Song), via Artemide |
| On-screen controller toggle |
Ported from Artemis (Yukino Song), via Artemide |
| Monitor switcher (Monitor 1–6, using the host’s Ctrl+Alt+Shift+F1… shortcuts) |
Idea from Moonlit Artemis (Mohammad Forhad / 4had45) |
| Change bitrate mid-stream (Vibepollo) |
Idea from Moonlight V+ (qiin2333) |
| From 0.3.0: a Brightness item that opens the brightness slider, left out on Android TV. A controller moves it in 5% steps. A swipe in from the left edge of the screen can open the slider or the menu too. It’s off by default: turn it on in Settings, In-stream menu, Left edge swipe action. The swipe starts within 80 dp of the edge (about 1.3 cm) and moves 60 dp to the right (about 1 cm) within half a second, so a slow drag from near the edge counts too, and the drag goes to the game until then. A tap at the edge goes to the game. The slider stays up until you change it, then hides 2 seconds after your last change. Checked by tests. The Brightness item was tried in a stream on my RedMagic Astra tablet; the swipe hasn’t been tried in a stream yet |
Ported from Moonlight X (MoreOrLessSoftware), as a tile in Starwire’s menu and a setting under In-stream menu |
| From 0.3.0: Quit Session asks before it closes the game on the PC. Yes quits, and No or Back keeps streaming. Checked by tests with touch and a controller’s A and B buttons, not yet tried in a stream |
Ported from Moonlight X (MoreOrLessSoftware) |
Streaming and video
| Feature |
Source |
| Vulkan renderer with host frame timing, PyroWave codec |
From Moonlight X (MoreOrLessSoftware) |
| From 0.2.1: custom resolutions and frame rates. A Custom button in the resolution and frame rate lists takes any size up to 7680x4320 and any frame rate, in Settings and per game. It replaces Unlock FPS, and a saved value the device doesn’t list is kept instead of being reset. Not yet tried in a stream with Starwire |
From Moonlight X (MoreOrLessSoftware) |
| Custom Vulkan driver (Turnip) for PyroWave: experimental and off by default, and not yet tried with a real Turnip driver |
Ported from Moonlight X Turnip (ncpt / NoCrypt), uses libadrenotools (Billy Laws / bylaws). The libadrenotools libraries in the repo were built from the upstream commit in SOURCE, not copied from the fork. Starwire refuses files that aren’t 64-bit ARM libraries, and goes back to the system driver when one can’t load or can’t run PyroWave (tested with a broken file, not a real driver) |
| Warp Drive / Warp 2 frame pacing (2x / 4x FPS from the PC, newest frame shown) |
Ported from Artemis (Yukino Song), via Artemide |
| Fast V-Sync (Artemide’s Nano Pacer) |
Ported from Artemide (derflacco) |
| V-Sync (one setting: Off, V-Sync, Fast V-Sync) |
V-Sync for the direct renderer is new in Starwire; Fast V-Sync as above |
| Sync: LFR |
Ported from Artemide (derflacco) |
| Async decode and Async: LFR |
Ported from Artemide (derflacco) |
| Ultra Low Latency: MediaTek’s own ultra-low-latency mode follows the setting, and low latency is set again after the decoder starts |
Ported from Artemide (derflacco). The base option and its Snapdragon/Exynos/Amlogic flags are from Moonlight X (MoreOrLessSoftware) and Artemis |
| Virtual Display: the “Virtual display” setting (in Settings under PC, and per game) and “Start in Virtual/Primary Display” when long-pressing a game (Apollo / Vibepollo) |
Ported from Artemis (Yukino Song), via Artemide |
| Prevent Packet Loss (keeps Wi-Fi awake during streams) |
Option from Artemis (Yukino Song), via Artemide; rewritten for Starwire as a small keep-alive ping |
| Lite performance overlay (one compact line: data rate, ping, decode time, dropped frames, FPS) |
Ported from Axixi2233’s fork (axi), via Artemis and Artemide; the plain wording is new in Starwire |
| 1% low FPS in the stats |
Idea from Moonlight V+ (qiin2333) and Moonlight X Turnip (NoCrypt) |
| From 0.3.0: Google’s video decoders, as on Pixel phones, are asked for the most frames they can handle at the stream’s size. Moonlight X measured about 9 ms a frame before and 7.8 ms after at 120 FPS on a Pixel 10 Pro. Not tried with Starwire: I don’t have a Pixel |
Ported from Moonlight X (MoreOrLessSoftware) |
| From 0.3.0: rounded corners on the stats box |
Ported from Moonlight X (MoreOrLessSoftware) |
Input and feel
| Feature |
Source |
| Pinch to zoom anytime, outside Pan/Zoom mode |
Idea from Moonlit Artemis (Mohammad Forhad / 4had45); uses Artemis’s pan/zoom code (Yukino Song) |
| Automatic clipboard sync (send yours when the stream starts, copy the PC’s when you leave) (Apollo / Vibepollo) |
Ported from Artemis (Yukino Song), via Artemide |
| Audio haptics: the game’s bass becomes vibration on the device and/or the controller |
Idea from Moonlight V+ (qiin2333); written new for Starwire |
| From 0.3.0: controller vibration strength, 0 to 100% of the game’s rumble on every controller. Audio haptics on the controller follows it too. Not yet tried on a device |
New in Starwire |
| Hide PC cursor (never / while touching / always) (Vibepollo) |
New in Starwire |
| Long-press to right-click in gaming trackpad mode |
New in Starwire |
| Settings, the game screen and the stream menu fit more Android devices, down to narrow screens like a Galaxy Z Fold’s cover screen; the game screen’s header scrolls away with the covers |
New in Starwire |
| An “Impact:” line under settings that change latency, smoothness, picture quality or battery |
New in Starwire |
| From 0.3.0: with gesture navigation, the last setting scrolls clear of the gesture bar. Checked by a test, not yet tried on a device |
Ported from Moonlight X (MoreOrLessSoftware) |
| On a foldable’s inner screen, the stream follows the device instead of forcing landscape |
Idea from Moonlight Fold (sblocktechnologies) and moonlight-android#1613 |
| Send your microphone to the PC with any host: a VBAN stream to Starwire’s receiver on the PC, which plays it into VB-Cable. Encrypted from 0.2.1, and only from devices you’ve paired with the PC; a “Not encrypted” option stays for Voicemeeter and other VBAN apps (see above). The receiver has no window, just an icon by the clock with pairing, a mic check and a test tone |
New in Starwire, with its Windows receiver and setup script; VBAN is VB-Audio’s network audio format |
| Or send it over the stream itself, with a choice of microphone (needs logabell’s Apollo build on the PC) |
Ported from logabell’s Artemis and moonlight-common-c microphone changes (Artemis PR #537); echo-cancelled capture is new in Starwire |
| Per-game settings for the new options (codec, V-Sync, LFR, async decode, display, touch mode, cursor, audio haptics, and from 0.2.1 the jitter buffer) |
Extends Moonlight X’s per-app settings (MoreOrLessSoftware); the per-game jitter buffer is from Moonlight X too |
| From 0.3.0: DualSense trigger effects over Bluetooth (Experimental, Android 12 and newer): the game’s own adaptive trigger effects, four presets for games that send none, a strength setting, a status line and a Test button. On my RedMagic Astra tablet (Android 16), Starwire found a DualSense over Bluetooth and the Test button’s gun click was felt in both triggers, and in a stream of Phantom Blade Zero the game’s own effects came through Starwire to the controller. Apart from that gun click, the presets and strength steps have not been tried on a pad yet. Before that, a separate test app changed a DualSense’s light bar and sent it four trigger effects |
Bluetooth route and pad matching ported from Moonlight V+ (qiin2333); the code that passes the host’s effects to Java is from Nightjar (Ramazan Kara); report layout written from Linux’s hid-playstation driver, SDL and Nielk1’s trigger notes; uses HiddenApiBypass (LSPosed). The rest is new in Starwire |
| From 0.3.0: USB devices (Experimental), the phone’s side: a setting under Controllers adds a “USB devices” page to the stream menu, which shares a wired device with the PC through the USB/IP exporter inside the app and an encrypted tunnel to the PC’s USB helper, after the device rules decide what may be shared (one device at a time, Android 9 or later on 64-bit ARM). Tested on a computer against a fake helper on 127.0.0.1, and tried on my RedMagic Astra tablet (Android 16) with a Windows 11 PC and the real helper: a DualSense plugged into the tablet by cable worked on the PC, and stopping the share gave it back all three times. On one of those stops, the pad reset on the tablet, so Starwire ended the share as if it had been unplugged; it still came back and worked |
The exporter is ported from Moonlight V+'s usbip-backend (qiin2333 and CLF), after yunsmall’s Android-Usbipdcpp, and built on usbipdcpp (yunsmall, LGPL-3.0) and libusb; the stream menu’s page, the tunnel, the device rules and one-device sharing are new in Starwire |
From 0.3.0: USB devices, the PC’s side: Starwire’s USB helper for Windows (setup-usb.cmd, in the Windows zip) takes the device over the encrypted tunnel from a phone paired with the PC’s microphone receiver, checks it against the same device rules and attaches it with usbip-win2’s driver, version 0.9.8.1. Off until you turn it on in its menu, and each phone needs its own tick. Its own tests pass on Windows 11 with a fake driver and a test phone, and setup-usb.cmd installed and started it on a Windows 11 PC, where it attached a DualSense shared from a tablet. That was before the helper had its own icon, which hasn’t been seen on a PC yet (USB-HELPER.md) |
The driver’s commands, their layouts and its error codes are adapted from usbip-win2 0.9.8.1 (vadimgrn, BSD-2-Clause), and it finds the driver and reads its list the way usbip-win2’s own tool does; how it finds the port of a device it attache |
README 内容过长,已截取前 64 KB。完整内容请前往 GitHub 仓库查看。
评论