dtlssrtpenc return g_hash_table_lookup: assertion 'hash_table != NULL' failed

Hau Lam lthau91 at gmail.com
Mon Jun 19 11:36:56 UTC 2023


Hi Matthew,
Thank you for your information.
As I knew in DTLS, both client and server need root CA to authenticate the
certificate.
So in dtlssrtpenc/dtlssrtpdec what is root CA ?

On Fri, 12 May 2023 at 2:51 PM, Matthew Waters <ystreet00 at gmail.com> wrote:

> You need both dtlssrtpdec and dtlssrtpenc in the same process for them to
> work as DTLS/TLS requires a two-way negotiation.
>
>
> On 12/5/23 16:42, Hau Lam via gstreamer-devel wrote:
>
> I tried to use element as guideline in
> https://github.com/GStreamer/gst-plugins-bad/commit/79f9c7671ba5daccd8da3c7e4722f24e09680287
>
> 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"
>
> but I got the error below
> Setting pipeline to PAUSED ...
>
> (gst-launch-1.0:285843): GLib-CRITICAL **: 14:39:38.477:
> g_hash_table_lookup: assertion 'hash_table != NULL' failed
> ERROR: Pipeline doesn't want to pause.
> Setting pipeline to NULL ...
> Freeing pipeline ...
> ------
> and my RX pipeline as below
> gst-launch-1.0 udpsrc port=5000 ! .sink dtlssrtpdec connection-id=123
> .rtp_src ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink
> sync=false
>
> could Gstreamer team suggest what is wrong here ? and how to
> use dtlssrtpenc/dtlssrtpdec properly ?
>
> thank you,
> Hau
>
>
> --
Best regards,
Hau Lam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230619/0ebf6f9c/attachment.htm>


More information about the gstreamer-devel mailing list