From 72be14a04d3eca7f191dc857f60233df351eba34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <philipp@hoerist.com> Date: Fri, 11 Jan 2019 21:53:34 +0100 Subject: [PATCH] Jingle Audio: Add more log output --- gajim/common/jingle_rtp.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gajim/common/jingle_rtp.py b/gajim/common/jingle_rtp.py index 538778ae08..5e6bd49340 100644 --- a/gajim/common/jingle_rtp.py +++ b/gajim/common/jingle_rtp.py @@ -224,12 +224,15 @@ class JingleRTPContent(JingleContent): # TODO: Fix it to fallback to videotestsrc anytime an error occur, # or raise an error, Jingle way # or maybe one-sided stream? + gerror_msg = message.get_structure().get_value('gerror') + debug_msg = message.get_structure().get_value('debug') + log.error(gerror_msg) + log.error(debug_msg) if not self.stream_failed_once: app.nec.push_incoming_event( InformationEvent( None, dialog_name='gstreamer-error', - kwargs={'error': message.get_structure().get_value('gerror'), - 'debug': message.get_structure().get_value('debug')})) + kwargs={'error': gerror_msg, 'debug': debug_msg})) sink_pad = self.p2psession.get_property('sink-pad') -- GitLab