Commit 72be14a0 authored by Philipp Hörist's avatar Philipp Hörist

Jingle Audio: Add more log output

parent b22f1bac
...@@ -224,12 +224,15 @@ class JingleRTPContent(JingleContent): ...@@ -224,12 +224,15 @@ class JingleRTPContent(JingleContent):
# TODO: Fix it to fallback to videotestsrc anytime an error occur, # TODO: Fix it to fallback to videotestsrc anytime an error occur,
# or raise an error, Jingle way # or raise an error, Jingle way
# or maybe one-sided stream? # 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: if not self.stream_failed_once:
app.nec.push_incoming_event( app.nec.push_incoming_event(
InformationEvent( InformationEvent(
None, dialog_name='gstreamer-error', None, dialog_name='gstreamer-error',
kwargs={'error': message.get_structure().get_value('gerror'), kwargs={'error': gerror_msg, 'debug': debug_msg}))
'debug': message.get_structure().get_value('debug')}))
sink_pad = self.p2psession.get_property('sink-pad') sink_pad = self.p2psession.get_property('sink-pad')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment