mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
module-rtp-sap: add session number to the NTP value
Dante Controller does not recognize next stream having the same NTP value. Work around that by adding current number of sessions to the time and the magic value. Co-authored-by: Dewi Seignard <dewiweb@gmail.com>
This commit is contained in:
parent
57985e5aea
commit
420ab8ed89
1 changed files with 1 additions and 1 deletions
|
|
@ -695,7 +695,7 @@ static struct session *session_new_announce(struct impl *impl, struct node *node
|
|||
sess->announce = true;
|
||||
|
||||
sdp->hash = pw_rand32();
|
||||
sdp->ntp = pw_properties_get_uint32(props, "rtp.ntp", (uint32_t) time(NULL) + 2208988800U);
|
||||
sdp->ntp = pw_properties_get_uint32(props, "rtp.ntp", (uint32_t) time(NULL) + 2208988800U + impl->n_sessions);
|
||||
sess->props = props;
|
||||
|
||||
if ((str = pw_properties_get(props, "sess.name")) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue