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
|
@ -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…
Reference in New Issue