LADI
/
spa
1
Fork 0

rtp-sap: use correct property key to get channel names

This commit is contained in:
Sebastian Jaeckel 2023-05-23 11:37:14 +02:00 committed by Wim Taymans
parent 39d6e40abd
commit dfeacaafdd
1 changed files with 1 additions and 1 deletions

View File

@ -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);