• DepthAI-v2
  • Need to avoid OpenSSL download on depthai-core compilation

Hello, I am facing a strange issue on a Ubuntu 18.04 where if I include depthai-core on a project which also uses Gstreamer WebRTCbin plugin crashes on peer negotiation. It does not seem to happen on 20.04 and onward, however, my setup runs on a Jetson Nano which most modern version is 18.04.

My guess is that Hunter brings its own OpenSSL version and it

0:00:18.748202697 15810 0x7f14003de0 DEBUG dtlsconnection gstdtlsconnection.c:759:openssl_poll:<GstDtlsConnection@0x7f000190a0> do_handshake encountered BIO error
0:00:18.748471974 15810 0x7f14003de0 ERROR dtlsconnection gstdtlsconnection.c:772:openssl_poll:<GstDtlsConnection@0x7f000190a0> SSL error
0:00:18.748527288 15810 0x7f14003de0 ERROR dtlsconnection gstdtlsconnection.c:728:ssl_err_cb:<GstDtlsConnection@0x7f000190a0> ssl error: 9071FF317F000000:error:0A000126:SSL routines:ssl3_read_n:unexpected eof while reading:ssl/record/rec_layer_s3.c:304:

My guess is that, during depthai-core build, Hunter brings its own OpenSSL version and it conflicts with the version already installed on the system. Is there a way to disable this behavior and force it to compile with the official repo version?

Thanks in advance,
Alberto R.

  • @aruiz feel free to disable CURL (which will disable openssl as well) with -DDEPTHAI_ENABLE_CURL=OFF when configuring cmake.

    It's used for crashdump collection, but not needed for normal operation.

@aruiz feel free to disable CURL (which will disable openssl as well) with -DDEPTHAI_ENABLE_CURL=OFF when configuring cmake.

It's used for crashdump collection, but not needed for normal operation.