GNOME Bugzilla – Bug 730212
rtspsrc: use a random ssrc for the internal session
Last modified: 2014-05-16 14:59:33 UTC
The internal SSRC is currently set to 0 instead of another random number as we do with MIKEY. The following call overrides the internal suggested SSRC which is already a random number: g_object_set (rtpsession, "internal-ssrc", stream->send_ssrc, NULL); However, stream->send_ssrc is only set in MIKEY key management.
Created attachment 276617 [details] [review] use random ssrc Not sure if the change was intended. But this patch always uses a random SSRC whether we are in SRTP or not.
*** Bug 729577 has been marked as a duplicate of this bug. ***
That looks like a bug to me, as it was causing the issue reported in the duplicate bug, we probably want to merge your patch. Wim ?
(In reply to comment #3) > That looks like a bug to me, as it was causing the issue reported in the > duplicate bug, we probably want to merge your patch. Wim ? To me too. sender_ssrc didn't exist (thus never used) before so the internal session used the suggested random ssrc.
commit 782d65cab18afaa7227cad5202d6b3198913a9bb Author: Aleix Conchillo Flaqué <aleix@oblong.com> Date: Thu May 15 11:25:50 2014 -0700 rtspsrc: always use a random ssrc for the internal session Use a random SSRC different than 0 for the internal session SSRC. https://bugzilla.gnome.org/show_bug.cgi?id=730212