[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Diagnosing GStreamer errors in the Janus video room demo
From:       livinginlosangeles () mac ! com
Date:       2021-01-27 20:12:04
Message-ID: EAA6E8D2-62C8-43C6-975D-557D94B0CFB5 () mac ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am running the Janus Video Room demo in the webrtc examples and am a noob when it \
comes to intricacies of Gstreamer. I am encountering the following errors when \
connecting to my janus room. All Janus communication appear normal.


(<unknown>:64485): GStreamer-CRITICAL **: 11:59:51.845: gst_bin_add: assertion \
'GST_IS_ELEMENT (element)' failed

(<unknown>:64485): GStreamer-CRITICAL **: 11:59:51.845: \
gst_element_sync_state_with_parent: assertion 'GST_IS_ELEMENT (element)' failed

(<unknown>:64485): GStreamer-CRITICAL **: 11:59:51.846: gst_element_link_pads_full: \
assertion 'GST_IS_ELEMENT (src)' failed

(<unknown>:64485): GStreamer-CRITICAL **: 11:59:51.847: Element rtpbin already has a \
pad named send_rtp_sink_0, the behaviour of  gst_element_get_request_pad() for \
existing pads is undefined!

** (<unknown>:64485): WARNING **: 11:59:51.847: \
(gstwebrtcbin.c:2917):_connect_input_stream: code should not be reached


Is it safe to assume this is an error generated after I start the pipeline?

    def start_pipeline(self):
        self.pipe = Gst.parse_launch(PIPELINE_DESC)
        self.webrtc = self.pipe.get_by_name(‘sendrecv')
        self.webrtc.connect('on-negotiation-needed', self.on_negotiation_needed)
        self.webrtc.connect('on-ice-candidate', self.send_ice_candidate_message)
        self.webrtc.connect('pad-added', self.on_incoming_stream)

        trans = self.webrtc.emit('get-transceiver', 0)
        if DO_RTX:
            trans.set_property ('do-nack', True)
        self.pipe.set_state(Gst.State.PLAYING)


Tyler


[Attachment #5 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class=""><div style="margin: 0px; font-stretch: \
normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">I am running the Janus \
Video Room demo in the webrtc examples and am a noob when it comes to intricacies of \
Gstreamer. I am encountering the following errors when connecting to my janus room. \
All Janus communication appear normal.</span></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" \
class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br \
class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""><br \
class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">(&lt;unknown&gt;:64485): \
GStreamer-</span><span style="font-variant-ligatures: no-common-ligatures; color: \
#c814c9" class=""><b class="">CRITICAL</b></span><span style="font-variant-ligatures: \
no-common-ligatures" class=""> **: </span><span style="font-variant-ligatures: \
no-common-ligatures; color: #400bd9" class="">11:59:51.845</span><span \
style="font-variant-ligatures: no-common-ligatures" class="">: gst_bin_add: assertion \
'GST_IS_ELEMENT (element)' failed</span></div><div style="margin: 0px; font-stretch: \
normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" \
class=""><span style="font-variant-ligatures: no-common-ligatures" \
class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; \
font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">(&lt;unknown&gt;:64485): \
GStreamer-</span><span style="font-variant-ligatures: no-common-ligatures; color: \
#c814c9" class=""><b class="">CRITICAL</b></span><span style="font-variant-ligatures: \
no-common-ligatures" class=""> **: </span><span style="font-variant-ligatures: \
no-common-ligatures; color: #400bd9" class="">11:59:51.845</span><span \
style="font-variant-ligatures: no-common-ligatures" class="">: \
gst_element_sync_state_with_parent: assertion 'GST_IS_ELEMENT (element)' \
failed</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""></span><br \
class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">(&lt;unknown&gt;:64485): \
GStreamer-</span><span style="font-variant-ligatures: no-common-ligatures; color: \
#c814c9" class=""><b class="">CRITICAL</b></span><span style="font-variant-ligatures: \
no-common-ligatures" class=""> **: </span><span style="font-variant-ligatures: \
no-common-ligatures; color: #400bd9" class="">11:59:51.846</span><span \
style="font-variant-ligatures: no-common-ligatures" class="">: \
gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed</span></div><div \
style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; \
font-family: Menlo; min-height: 13px;" class=""><span style="font-variant-ligatures: \
no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" \
class=""><span style="font-variant-ligatures: no-common-ligatures" \
class="">(&lt;unknown&gt;:64485): GStreamer-</span><span \
style="font-variant-ligatures: no-common-ligatures; color: #c814c9" class=""><b \
class="">CRITICAL</b></span><span style="font-variant-ligatures: no-common-ligatures" \
class=""> **: </span><span style="font-variant-ligatures: no-common-ligatures; color: \
#400bd9" class="">11:59:51.847</span><span style="font-variant-ligatures: \
no-common-ligatures" class="">: Element rtpbin already has a pad named \
send_rtp_sink_0, the behaviour of&nbsp; gst_element_get_request_pad() for existing \
pads is undefined!</span></div><div style="margin: 0px; font-stretch: normal; \
font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" \
class=""><span style="font-variant-ligatures: no-common-ligatures" \
class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; \
font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class="">** \
(&lt;unknown&gt;:64485): </span><span style="font-variant-ligatures: \
no-common-ligatures; color: #9fa01c" class=""><b class="">WARNING</b></span><span \
style="font-variant-ligatures: no-common-ligatures" class=""> **: </span><span \
style="font-variant-ligatures: no-common-ligatures; color: #400bd9" \
class="">11:59:51.847</span><span style="font-variant-ligatures: no-common-ligatures" \
class="">: (gstwebrtcbin.c:2917):_connect_input_stream: code should not be \
reached</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""><br \
class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class=""><span \
style="font-variant-ligatures: no-common-ligatures" class=""><br \
class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; \
line-height: normal; font-family: Menlo;" class="">Is it safe to assume this is an \
error generated after I start the pipeline?</div><div style="margin: 0px; \
font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" \
class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; \
line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; \
line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: \
11px;" class="">&nbsp; &nbsp; def start_pipeline(self):</span></font></div><div \
style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font \
face="Menlo" class=""><span style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; \
&nbsp; self.pipe = Gst.parse_launch(PIPELINE_DESC)</span></font></div><div \
style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font \
face="Menlo" class=""><span style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; \
&nbsp; self.webrtc = self.pipe.get_by_name(‘sendrecv')</span></font></div><div \
style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font \
face="Menlo" class=""><span style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; \
&nbsp; self.webrtc.connect('on-negotiation-needed', \
self.on_negotiation_needed)</span></font></div><div style="margin: 0px; font-stretch: \
normal; line-height: normal;" class=""><font face="Menlo" class=""><span \
style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; \
self.webrtc.connect('on-ice-candidate', \
self.send_ice_candidate_message)</span></font></div><div style="margin: 0px; \
font-stretch: normal; line-height: normal;" class=""><font face="Menlo" \
class=""><span style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; \
self.webrtc.connect('pad-added', self.on_incoming_stream)</span></font></div><div \
style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><font \
face="Menlo" class=""><span style="font-size: 11px;" class=""><br \
class=""></span></font></div><div style="margin: 0px; font-stretch: normal; \
line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: \
11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; trans = \
self.webrtc.emit('get-transceiver', 0)</span></font></div><div style="margin: 0px; \
font-stretch: normal; line-height: normal;" class=""><font face="Menlo" \
class=""><span style="font-size: 11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; if \
DO_RTX:</span></font></div><div style="margin: 0px; font-stretch: normal; \
line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: \
11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trans.set_property \
('do-nack', True)</span></font></div><div style="margin: 0px; font-stretch: normal; \
line-height: normal;" class=""><font face="Menlo" class=""><span style="font-size: \
11px;" class="">&nbsp; &nbsp; &nbsp; &nbsp; \
self.pipe.set_state(Gst.State.PLAYING)</span></font></div><div style="margin: 0px; \
font-stretch: normal; line-height: normal;" class=""><br class=""></div><div \
style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br \
class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" \
class="">Tyler</div></div></body></html>



_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic