From 0af199e25ec7732c7a8462bae4e62219badb313c Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Sun, 15 Jul 2018 23:05:26 +1000 Subject: [PATCH] webrtc: Add some ssrc to caps in the unit test. The unit test uses incomplete caps to test webrtcbin, causing some weirdness generating RTX stream mappings. https://bugzilla.gnome.org/show_bug.cgi?id=796810 --- tests/check/elements/webrtcbin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check/elements/webrtcbin.c b/tests/check/elements/webrtcbin.c index 756f38021a..6f11914c36 100644 --- a/tests/check/elements/webrtcbin.c +++ b/tests/check/elements/webrtcbin.c @@ -30,8 +30,8 @@ #include #include -#define OPUS_RTP_CAPS(pt) "application/x-rtp,payload=" G_STRINGIFY(pt) ",encoding-name=OPUS,media=audio,clock-rate=48000" -#define VP8_RTP_CAPS(pt) "application/x-rtp,payload=" G_STRINGIFY(pt) ",encoding-name=VP8,media=video,clock-rate=90000" +#define OPUS_RTP_CAPS(pt) "application/x-rtp,payload=" G_STRINGIFY(pt) ",encoding-name=OPUS,media=audio,clock-rate=48000,ssrc=(uint)3384078950" +#define VP8_RTP_CAPS(pt) "application/x-rtp,payload=" G_STRINGIFY(pt) ",encoding-name=VP8,media=video,clock-rate=90000,ssrc=(uint)3484078950" typedef enum {