mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
module-rtp-sap: Publish sender SSRC if we have it
Can be handy on the receiver side.
This commit is contained in:
parent
dbf0442c7e
commit
13e3918f81
2 changed files with 9 additions and 0 deletions
|
|
@ -547,6 +547,7 @@ struct rtp_stream *rtp_stream_new(struct pw_core *core,
|
|||
pw_properties_setf(props, "rtp.media", "%s", impl->format_info->media_type);
|
||||
pw_properties_setf(props, "rtp.mime", "%s", impl->format_info->mime);
|
||||
pw_properties_setf(props, "rtp.payload", "%u", impl->payload);
|
||||
pw_properties_setf(props, "rtp.ssrc", "%u", impl->ssrc);
|
||||
pw_properties_setf(props, "rtp.rate", "%u", impl->rate);
|
||||
if (impl->info.info.raw.channels > 0)
|
||||
pw_properties_setf(props, "rtp.channels", "%u", impl->info.info.raw.channels);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue