mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
rtp-sap: use correct property key to get channel names
This commit is contained in:
parent
39d6e40abd
commit
dfeacaafdd
1 changed files with 1 additions and 1 deletions
|
|
@ -692,7 +692,7 @@ static struct session *session_new_announce(struct impl *impl, struct node *node
|
|||
sdp->ts_offset = atoi(str);
|
||||
if ((str = pw_properties_get(props, "rtp.ts-refclk")) != NULL)
|
||||
sdp->ts_refclk = strdup(str);
|
||||
if ((str = pw_properties_get(props, "rtp.channel-names")) != NULL)
|
||||
if ((str = pw_properties_get(props, PW_KEY_NODE_CHANNELNAMES)) != NULL)
|
||||
snprintf(sdp->channelmap, sizeof(sdp->channelmap), "%s", str);
|
||||
|
||||
pw_log_info("created new session for node:%u", node->id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue