diff options
author | Jan Schmidt <jan@centricular.com> | 2018-07-15 23:05:26 +1000 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2018-07-15 23:07:37 +1000 |
commit | 0af199e25ec7732c7a8462bae4e62219badb313c (patch) | |
tree | 708700dc01b76906e299d1307bffd1989cc8ca1e /tests | |
parent | e6a564216d9adabf11e99a1cdbe6c20545d1dd57 (diff) |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/webrtcbin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/webrtcbin.c b/tests/check/elements/webrtcbin.c index 756f38021..6f11914c3 100644 --- a/tests/check/elements/webrtcbin.c +++ b/tests/check/elements/webrtcbin.c @@ -30,8 +30,8 @@ #include <gst/check/gstharness.h> #include <gst/webrtc/webrtc.h> -#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 { |