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

Matthew Waters ystreet00 at gmail.com
Fri May 12 06:51:13 UTC 2023


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230512/2fc1447c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230512/2fc1447c/attachment.sig>


More information about the gstreamer-devel mailing list