mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-31 11:09:04 -05:00
module-rtp: for multicast we need to add the TTL
This commit is contained in:
parent
c06f936a88
commit
9dd1c78f50
2 changed files with 32 additions and 12 deletions
|
|
@ -559,6 +559,8 @@ static int session_new(struct impl *impl, struct sdp_info *info)
|
|||
session->target_buffer / (2 * info->stride), info->info.rate);
|
||||
pw_properties_set(props, "rtp.origin", info->origin);
|
||||
pw_properties_setf(props, "rtp.payload", "%u", info->payload);
|
||||
pw_properties_setf(props, "rtp.fmt", "%s/%u/%u", info->format_info->mime,
|
||||
info->info.rate, info->info.channels);
|
||||
if (info->session[0]) {
|
||||
pw_properties_set(props, "rtp.session", info->session);
|
||||
pw_properties_setf(props, PW_KEY_MEDIA_NAME, "RTP Stream (%s)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue