<div dir="ltr">I'm running on osx High Sierra. Local built gstreamer 1.14.0.<div>I'm trying to test webrtc with centricular/gstwebrtc-demos  master hash 61f49793ed099d165694b3cfb8e8943a7b77723f</div><div><br></div><div>I build the app and view the browser component at <a href="https://webrtc.nirbheek.in/">https://webrtc.nirbheek.in/</a>. I run the app with the generated peer id. And I get an error and segfault.</div><div><br></div><div>




<span></span>





<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">./webrtc-sendrecv --peer-id 8385</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Connecting to server...</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> GET<span class="gmail-Apple-converted-space">  </span>HTTP/1.1</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Soup-Debug-Timestamp: 1523898255</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Soup-Debug: SoupSession 1 (0x7fcf3f874100), SoupMessage 1 (0x7fcf4104f8e0), SoupSocket 1 (0x7fcf4005e280)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Host: <a href="http://webrtc.nirbheek.in:8443">webrtc.nirbheek.in:8443</a></span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Upgrade: websocket</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Connection: Upgrade</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Sec-WebSocket-Key: 7HNVppwkBWwvs3Wtti9JNA==</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Sec-WebSocket-Version: 13</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">> Accept-Encoding: gzip, deflate</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85);min-height:11px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span></span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< HTTP/1.1 101 Switching Protocols</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Soup-Debug-Timestamp: 1523898255</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Soup-Debug: SoupMessage 1 (0x7fcf4104f8e0)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Server: Python/3.5 websockets/3.3</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Upgrade: WebSocket</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Connection: Upgrade</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">< Sec-WebSocket-Accept: 31SsZyeEAXb8xPNl3+lHa0af518=</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85);min-height:11px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">  </span></span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Connected to signalling server</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Registering id 1954 with server</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Registered with server</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Setting up signalling server call with 8385</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Starting pipeline</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85);min-height:11px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(webrtc-sendrecv:31544): GLib-GObject-</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)"><b>CRITICAL</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> **: </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)">13:04:15.517</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85);min-height:11px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(webrtc-sendrecv:31544): GLib-</span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)"><b>CRITICAL</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> **: </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)">13:04:15.517</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">: g_once_init_leave: assertion 'result != 0' failed</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85);min-height:11px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">** (webrtc-sendrecv:31544): </span><span class="gmail-s2" style="font-variant-ligatures:no-common-ligatures;color:rgb(213,59,211)"><b>CRITICAL</b></span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> **: </span><span class="gmail-s3" style="font-variant-ligatures:no-common-ligatures;color:rgb(82,48,225)">13:04:15.517</span><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">: file gstwebrtcbin.c: line 2585 (gst_webrtc_bin_set_local_description): should not be reached</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:"Envy Code R";color:rgb(244,244,244);background-color:rgba(0,0,0,0.85)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Segmentation fault: 11</span></p>


<br></div><div>GST_DEBUG=4 output available here (1400 lines): <a href="https://filebin.net/kr15phopdl5bxwdw/out.txt">https://filebin.net/kr15phopdl5bxwdw/out.txt</a></div></div>