media.name does not come up
- PipeWire version (
pipewire --version
): 0.3.63 (debian backports) - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Debian GNU/Linux 11 (bullseye) - Desktop Environment: Mate
- Kernel version (
uname -r
): 5.10.0-20-amd64
Description of Problem:
Hi ! I'm discovering pipewire and I'm not a developer but a sound guy, I'm trying to get the PW_KEY_MEDIA_NAME value of pulseaudio through pipewire but nothing comes while pw-dump displays it correctly in media.name property. It also happens with node.rate and other keys, I haven't tester all but PW_KEY_MEDIA_ROLE or PW_KEY_APP_NAME works for example.
How Reproducible:
if (::strcmp(type, PW_TYPE_INTERFACE_Node) == 0) {
const char *str = spa_dict_lookup(props, PW_KEY_MEDIA_NAME);
nodename += str;
}
Actual Results:
No value
Expected Results:
Value
Additional Info (as attachments):
pw-dump excerpt: "window.x11.display": ":0", "application.process.machine-id": "bb35a547d2834242be301453", "application.process.session-id": 187, "media.name": "My sound sample", "node.rate": "1/48000", "node.latency": "8192/48000", "node.target": "alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3",