mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-24 23:55:52 +03:00
[GH-ISSUE #446] Case discrepancy in Smart Routing TLV keys between Rust and Kotlin code (PlayingApp/playingApp, HostStreamingState/hostStreamingState) #223
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @carsond135 on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/446
Summary
A case discrepancy has been found between TLV key strings in the Rust and Kotlin source code, specifically for Smart Routing fields such as
PlayingAppvsplayingAppandHostStreamingStatevshostStreamingState.Details
linux-rust/src/bluetooth/aacp.rs):send_media_information_new_device, keys are used with lower-case starts:"playingApp"and"hostStreamingState".send_media_information, the same keys are used with capitalized case:"PlayingApp","HostStreamingState".android/app/src/main/java/me/kavishdevar/librepods/utils/AACPManager.kt, main branch):Questions/clarification sought
Related snippets:
aacp.rs.AACPManager.kt, Smart Routing payload code (details can be provided if needed).Steps to reproduce
PlayingApp/playingAppand similar field names.Main goal:
Seeks clarification on protocol field casing, and whether normalization/fix is required.
CC: maintainers & anyone with protocol reverse engineering experience.