Re: dtlssrtpenc return g_hash_table_lookup: assertion 'hash_table != NULL' failed
Hau Lam via gstreamer-devel <[email protected]>
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CACD0HgQaGm9j7YDQspqtAWzZhYMC1+yeFLdwUPdqSdp2dD_+QQ@mail.gmail.com> |
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 <[email protected]> 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