diff options
author | Marvin W <git@larma.de> | 2022-02-11 20:33:06 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2022-02-11 20:33:06 +0100 |
commit | 6532c2b160c66540091d667c4af116ec4d71ff43 (patch) | |
tree | e2f0eb6a94d9537203db36d487ea846414ce4bf6 /plugins/rtp/src | |
parent | e768c40e1122c4a8ef8785aef6a07044f6e869e1 (diff) | |
download | dino-6532c2b160c66540091d667c4af116ec4d71ff43.tar.gz dino-6532c2b160c66540091d667c4af116ec4d71ff43.zip |
RTP: Only display SSRC mismatch warning for GLib versions supporting warning_once
Diffstat (limited to 'plugins/rtp/src')
-rw-r--r-- | plugins/rtp/src/stream.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/rtp/src/stream.vala b/plugins/rtp/src/stream.vala index ef9ffe96..6bd92e3f 100644 --- a/plugins/rtp/src/stream.vala +++ b/plugins/rtp/src/stream.vala @@ -316,9 +316,11 @@ public class Dino.Plugins.Rtp.Stream : Xmpp.Xep.JingleRtp.Stream { next_timestamp_offset_stamp = get_monotonic_time(); rtp_buffer.unmap(); } +#if GLIB_2_64 if (our_ssrc != buffer_ssrc) { warning_once("Sending RTP %s buffer seq %u with SSRC %u when our ssrc is %u", media, buffer_seq, buffer_ssrc, our_ssrc); } +#endif } prepare_local_crypto(); |