<div><br></div><div dir="auto">Hi Matthew, </div><div dir="auto">Thank you for your information. </div><div dir="auto">As I knew in DTLS, both client and server need root CA to authenticate the certificate. </div><div dir="auto">So in dtlssrtpenc/dtlssrtpdec what is root CA ? </div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, 12 May 2023 at 2:51 PM, Matthew Waters <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
You need both dtlssrtpdec and dtlssrtpenc in the same process for
them to work as DTLS/TLS requires a two-way negotiation.</div><div><br>
<br>
<div>On 12/5/23 16:42, Hau Lam via
gstreamer-devel wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">I tried to use element as guideline in <a href="https://github.com/GStreamer/gst-plugins-bad/commit/79f9c7671ba5daccd8da3c7e4722f24e09680287" target="_blank">https://github.com/GStreamer/gst-plugins-bad/commit/79f9c7671ba5daccd8da3c7e4722f24e09680287</a>
<div><br>
</div>
<div>my pipeline is "gst-launch-1.0 filesrc location =
./BigBuckBunny.h264 ! h264parse !
video/x-h264,stream-format=byte-stream,alignment=nal !
rtph264pay ! application/x-rtp ! .rtp_sink_0 dtlssrtpenc
connection-id=123 is-client=true .src ! udpsink host=127.0.0.1
port=5000"</div>
<div><br>
</div>
<div>but I got the error below </div>
<div>Setting pipeline to PAUSED ...<br>
<br>
(gst-launch-1.0:285843): GLib-CRITICAL **: 14:39:38.477:
g_hash_table_lookup: assertion 'hash_table != NULL' failed<br>
ERROR: Pipeline doesn't want to pause.<br>
Setting pipeline to NULL ...<br>
Freeing pipeline ...<br>
</div>
<div>------</div>
<div>and my RX pipeline as below </div>
<div>gst-launch-1.0 udpsrc port=5000 ! .sink dtlssrtpdec
connection-id=123 .rtp_src ! rtph264depay ! h264parse ! queue
! avdec_h264 ! xvimagesink sync=false<br>
</div>
<div><br>
</div>
<div>could Gstreamer team suggest what is wrong here ? and how
to use dtlssrtpenc/dtlssrtpdec properly ? </div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">thank you,
<div>Hau</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best regards,<div>Hau Lam</div></div></div>