<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    You need both dtlssrtpdec and dtlssrtpenc in the same process for
    them to work as DTLS/TLS requires a two-way negotiation.<br>
    <br>
    <div class="moz-cite-prefix">On 12/5/23 16:42, Hau Lam via
      gstreamer-devel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACD0HgQRkgYzLC=y6jHZPMk_Muh-FHF=j1NJ7eWy2aNnFn5i4Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I tried to use element as guideline in <a
href="https://github.com/GStreamer/gst-plugins-bad/commit/79f9c7671ba5daccd8da3c7e4722f24e09680287"
          moz-do-not-send="true" class="moz-txt-link-freetext">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>
  </body>
</html>