启动webrtc时,Kurento媒体服务器(在Jetson TX2(arm64)上)会导致分段失败

时间:2019-02-11 02:56:28

标签: webrtc gstreamer kurento nvidia-jetson

我使用kms-omni-build在Jetson TX 2(第64号臂)上构建了Kurento。 而且我们在Jetson TX2上成功制作了kms-omni-build。
但是,webrc使用“ kurento-tutorial-node / kurento-hello-world”正式示例代码开始通信(按“开始”按钮),发生以下错误。
您认为原因是什么?

----日志-----------------------------------

0:00:45.836853970  9650   0x5578588e30 INFO    KurentoServerMethods ServerMethods.cpp:798:ping: WebSocket Ping/Pong
0:00:45.883597417  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883643626  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883658123  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883675403  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883690187  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883703947  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883717452  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883730188  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883742764  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883752972  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883763469  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883772525  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883782765  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883791821  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883806093  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883818446  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883830190  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883842254  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883853774  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883866031  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:45.883877807  9650   0x7f58009b50 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:45.883889199  9650   0x7f58009b50 ERROR                   glib GLib-GObject:0:: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(kurento-media-server:9650): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
0:00:45.884242646  9650   0x7f58009b50 INFO         rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f5400aec0> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:00:45.884276375  9650   0x7f58009b50 INFO         rtpsynchronizer kmsrtpsynchronizer.c:139:kms_rtp_synchronizer_init_stats_file:<KmsRtpSynchronizer@0x7f5400af70> No path for stats; enable with env variable: 'KMS_RTP_SYNC_STATS_PATH'
0:00:45.885360812  9650   0x7f58009b50 WARN    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:125:check_support_for_h264: H264 is NOT supported: Plugin 'openh264' not found
0:00:45.885712883  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:152:generateDefaultCertificates: Unable to load the RSA certificate from file. Using the default certificate.
0:00:46.237079950  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:162:generateDefaultCertificates: Unable to load the ECDSA certificate from file. Using the default certificate.
0:00:46.244785798  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:96:remove_not_supported_codecs_from_array:<kmswebrtcendpoint0> Removing not supported codec 'AMR/8000'
0:00:46.244900648  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:96:remove_not_supported_codecs_from_array:<kmswebrtcendpoint0> Removing not supported codec 'H264/90000'
0:00:46.245167053  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:466:WebRtcEndpointImpl: STUN server Port not found in config; using default value: 3478
0:00:46.245363761  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:476:WebRtcEndpointImpl: STUN server IP address not found in config; NAT traversal requires either STUN or TURN server
0:00:46.245593141  9650   0x7f58009b50 INFO    KurentoWebRtcEndpointImpl WebRtcEndpointImpl.cpp:503:WebRtcEndpointImpl: TURN server IP address not found in config; NAT traversal requires either STUN or TURN server
0:00:46.246592809  9650   0x7f58009b50 INFO        kmswebrtcsession kmswebrtcsession.c:1592:kms_webrtc_session_parse_turn_url:<kmswebrtcsession0> TURN server info cleared
0:00:46.264839856  9650   0x7f58028c90 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:1447527254 1 udp 2122260223 192.168.128.105 55929 typ host generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.266214251  9650   0x7f58028c90 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:1447527254 1 udp 2122260223 192.168.128.105 35439 typ host generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.267350817  9650   0x7f5c003f30 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:415530918 1 tcp 1518280447 192.168.128.105 9 typ host tcptype active generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.268838174  9650   0x7f6c005e30 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:415530918 1 tcp 1518280447 192.168.128.105 9 typ host tcptype active generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.270094455  9650   0x7f68002b80 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:1066257559 1 udp 1686052607 126.201.35.79 35439 typ srflx raddr 192.168.128.105 rport 35439 generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.271357936  9650   0x7f540038f0 INFO          webrtcendpoint kmswebrtcendpoint.c:439:kms_webrtc_endpoint_add_ice_candidate:<kmswebrtcendpoint0> Add ICE candidate 'candidate:1066257559 1 udp 1686052607 126.201.35.79 55929 typ srflx raddr 192.168.128.105 rport 55929 generation 0 ufrag lkY2 network-id 1 network-cost 50' for session 'kmswebrtcendpoint0-sess0'
0:00:46.326988022  9650   0x5578588e30 INFO           kmssdpsession kmssdpsession.c:95:kms_sdp_session_process_offer:<kmswebrtcsession0> Process SDP Offer:
v=0
o=- 80027923757938042 2 IN IP4 127.0.0.1
〜〜〜〜〜〜〜〜〜〜〜〜
0:00:46.328056363  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f580283c0> Add format support, media: audio, codec: opus/48000/2
0:00:46.328139276  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f580283c0> Add format support, media: audio, codec: PCMU/8000
0:00:46.328180205  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f580283c0> Add format support, media: video, codec: VP8/90000

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_bin_add_many: assertion 'GST_IS_ELEMENT (element_1)' failed

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (src)' failed

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion 'GST_IS_ELEMENT (dest)' failed
0:00:46.913252589  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_set: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913323630  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_element_get_request_pad: assertion 'GST_IS_ELEMENT (element)' failed
0:00:46.913615412  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913654517  9650   0x5578588e30 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:46.913675061  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
0:00:46.913717846  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913775863  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_set: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913805240  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_structure_get_string: assertion 'structure != NULL' failed
0:00:46.913860921  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_get: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913887226  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_set: assertion 'G_IS_OBJECT (object)' failed
0:00:46.913912986  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_structure_free: assertion 'structure != NULL' failed
0:00:46.914227329  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f58028480> Add format support, media: audio, codec: opus/48000/2
0:00:46.914270977  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f58028480> Add format support, media: audio, codec: PCMU/8000
0:00:46.914299362  9650   0x5578588e30 INFO    sdprtpavpmediahandler kmssdprtpavpmediahandler.c:1249:kms_sdp_rtp_avp_media_handler_add_codec:<KmsSdpRtpSavpfMediaHandler@0x7f58028480> Add format support, media: video, codec: VP8/90000

(kurento-media-server:9650): GStreamer-CRITICAL **: gst_element_get_request_pad: assertion 'GST_IS_ELEMENT (element)' failed
0:00:46.915252949  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
0:00:46.915285622  9650   0x5578588e30 WARN                    glib GLib-GObject:0:: invalid (NULL) pointer instance
0:00:46.915308854  9650   0x5578588e30 ERROR                   glib GLib-GObject:0:: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

[1]+  Stopped                 kurento-media-server/server/kurento-media-server --modules-path=. --modules-config-path=./config --conf-file=./config/kurento.conf.json --gst-plugin-path=.
Segmentation fault (thread 547575394480, pid 9650)
Stack trace:
[g_type_check_instance_is_fundamentally_a]
/build/glib2.0-oQltZw/glib2.0-2.48.2/./gobject/gtype.c:4033
ec^C
[1]+  Aborted                 (core dumped) kurento-media-server/server/kurento-media-server --modules-path=. --modules-config-path=./config --conf-file=./config/kurento.conf.json --gst-plugin-path=.

0 个答案:

没有答案