Roclet turns an Android phone into a wireless microphone for a Roc Toolkit receiver over Wi-Fi, or into a wireless speaker for a Roc sender running on a PC.
Roclet has two modes, selected with the tabs at the top of the screen:
- Microphone sends the phone's microphone as a Roc
rtp+rs8msource stream, with a separaters8mrepair stream. On the receiver it appears as a normal audio source. The default ports are10001for source and10002for repair. - Speaker receives a Roc
rtp+rs8msource stream from a PC and plays it through the phone's speaker or headphones. It listens on the local ports10001(source) and10002(repair) by default. The sender must use RS8M FEC. The app shows the phone's Wi-Fi address so the PC can target it.
Only the service for the selected mode runs at a time.
- Android 10 (API 29) or newer on an
arm64-v8adevice. - A Wi-Fi network shared with the other device.
- For Microphone mode, a Roc Toolkit receiver, such as
roc-recvor the PipeWire/PulseAudio Roc module. - For Speaker mode on Linux, PipeWire with the ROC sink module
(
libpipewire-module-roc-sink, packaged aspipewire-rocor similar by most distributions).
Install Roclet from the releases page, open the app, and choose a mode. Release builds are signed; uninstall a debug build before installing a release build.
For Microphone mode, start the receiver on the same network, enter its address and ports, and tap the microphone button. See the Roc Toolkit documentation for receiver installation and usage.
For Speaker mode, start listening in the app, then configure the PC as a Roc sender. Do not select both modes at once: the phone cannot send and receive with the same ports.
Create a drop-in configuration, replacing PHONE_IP with the address shown in
the app:
# ~/.config/pipewire/pipewire.conf.d/roc-sink.conf
context.modules = [
{ name = libpipewire-module-roc-sink
args = {
remote.ip = "PHONE_IP"
remote.source.port = 10001
remote.repair.port = 10002
fec.code = rs8m
}
}
]Restart the user PipeWire services, then choose the new ROC output device:
systemctl --user restart pipewire pipewire-pulseThe ROC sink appears as an audio output. Select it in the system mixer and play audio. The receiver targets roughly 120 ms of latency; it adapts to network jitter but cannot go below the sender's packet and FEC buffering.
- Use the settings button to change the address and source/repair ports. They are remembered per mode. The same panel links to the third-party notices.
- Tap the microphone button to start streaming or listening. In Microphone mode, allow microphone access when asked. On Android 13 and newer, allow notifications so the foreground notification can appear.
- The status line shows Starting, Streaming/Listening, Paused, or Stopped. Tap the button again, or use Stop in the notification, to stop.
- Streaming and playback continue while the screen is off or the app is in the background. Speaker mode pauses on transient audio-focus loss and stops when another app takes audio output permanently.
Roclet builds its native dependencies (Roc Toolkit, OpenFEC, roc-java, libuv,
SpeexDSP) from the pinned sources under scripts/native/:
scripts/native/build-native.sh allThen build the app with the Gradle wrapper:
./gradlew :app:assembleDebug
./gradlew :app:assembleReleaseYou need JDK 17+, Android SDK platform/build-tools 36, and Android NDK
21.1.6352462. Release builds are signed only when a signing-properties file is
present; otherwise they produce an unsigned APK. See
scripts/native/README.md for native build details.
Roclet sends or receives audio only with the peer you configure. It has no analytics, ads, telemetry, accounts, or cloud service, and stores only the address and ports on the device.
Pull requests and issues are welcome.
Run ./gradlew :app:assembleDebug before submitting changes.
Roclet is licensed under Apache-2.0. Third-party components retain their respective licenses.


