Package Details: audiorelay 0.27.5-6

Git Clone URL: https://aur.archlinux.org/audiorelay.git (read-only, click to copy)
Package Base: audiorelay
Description: Stream your PC audio to your phone
Upstream URL: https://audiorelay.net
Keywords: audio stream
Licenses: unknown
Submitter: yochananmarqos
Maintainer: detian (yochananmarqos)
Last Packager: detian
Votes: 11
Popularity: 0.90
First Submitted: 2021-12-29 16:52 (UTC)
Last Updated: 2024-11-09 05:20 (UTC)

Dependencies (12)

Required by (0)

Sources (3)

Latest Comments

1 2 3 Next › Last »

detian commented on 2024-11-09 05:21 (UTC)

@dias ok, updated.

dias commented on 2024-11-07 18:57 (UTC) (edited on 2024-11-07 18:57 (UTC) by dias)

StartupWMClass=com-azefsw-audioconnect-desktop-app-mainkt

should be changed to

StartupWMClass=com-azefsw-audioconnect-desktop-app-MainKt

detian commented on 2023-10-08 11:45 (UTC)

@yochananmarqos Confirm works with java21 currently.

$ archlinux-java-run -a 21 -- -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
$ cat /bin/audiorelay
#!/bin/bash
APPDIR="/usr/share/java/audiorelay"

while IFS='=' read -r key value; do
  case $key in
    app.classpath) app_classpath=$value ;;
    app.mainclass) app_mainclass=$value ;;
    java-options) java_options+=("$value") ;;
  esac
done < "$APPDIR/misc/AudioRelay.cfg"

archlinux-java-run -a 21 -- "${java_options[*]}" \
    -Djava.library.path="$APPDIR/misc" \
    -cp "$(eval echo "$app_classpath")" "$app_mainclass" "$@"
$ audiorelay
2023-10-08 19:41:39:340 [INFO] Version: 0.27.5, os: Linux, osVersion: 6.5.2-arch1-2-lily
2023-10-08 19:41:39:472 [INFO] Initializing locale to zh-CN
2023-10-08 19:41:39:502 [INFO] Network addresses: NetworkInfo(broadcastAddresses=[192.168.31.255], localAddresses=[192.168.31.161])
2023-10-08 19:41:39:507 [INFO] Starting the server...
2023-10-08 19:41:39:510 [INFO] Waiting for devices from RtAudio…
2023-10-08 19:41:39:713 [INFO] Checking for update...
2023-10-08 19:41:39:763 [INFO] Showing main window...
2023-10-08 19:41:39:787 [INFO] Rendering api: OPENGL
2023-10-08 19:41:46:182 [INFO] Remote device connected: 192.168.31.127
2023-10-08 19:41:46:191 [INFO] Received client config, clientVersion: 0.24.9, os: ANDROID, osVersion: Android API 27
2023-10-08 19:41:46:196 [INFO] Found no update
The reported device's input latency is 0 or unavailable
2023-10-08 19:41:46:223 [INFO] Sentry initialized
2023-10-08 19:41:46:707 [INFO] Audio pipeline is emitting values
2023-10-08 19:41:57:850 [INFO] Remote device disconnected: 192.168.31.127...
2023-10-08 19:42:03:790 [INFO] Stopping the server, reason: shutdown

detian commented on 2023-10-06 08:03 (UTC)

@yochananmarqos last time I tested I only have jre20 on my system though, will test again when I'm back to my pc.

yochananmarqos commented on 2023-10-05 19:45 (UTC) (edited on 2023-10-05 19:46 (UTC) by yochananmarqos)

@detian: You don't understand. Upstream only supports JRE 17. Newer versions do not work the last I checked, I had tested them when I was maintaining the package.

detian commented on 2023-10-05 19:28 (UTC) (edited on 2023-10-05 19:33 (UTC) by detian)

@yochananmarqos archlinux-java-run is another aur package, if @alonewolf don't want to use aur helper but manually run makepkg, he'll need do the same thing to archlinux-java-run too.

archlinux-java-run is a simple bash script I use to select the right system jvm version, so even user install 3-party jvm like zulu 17 and not set it as default, audiorelay can still be able to detect and select the right jvm version, instead of hardcode /usr/lib/jvm/java-${_jre_ver}-openjdk

yochananmarqos commented on 2023-10-05 18:48 (UTC)

@alonewolf: See https://wiki.archlinux.org/title/Java

@detian: No one needs to install anything manually. I neither know nor care what archlinux-java-run is. No one has ever needed it before, why would they need it now? Arch already has a helper script, see the wiki article I linked above.

detian commented on 2023-10-05 18:12 (UTC)

@alonewolf archlinux-java-run also in aur, you need manual install it as depend