errors with strpenc with AES-GCM-256

Vattipallipraveen Praveen se vattipalli.praveen at gmail.com
Wed May 25 11:43:58 UTC 2022


Hi All,

i am working on AES-GCM-256 with gst-launch for following use case, i have
added gst-plungins-bad to support AES-GCM-256 with srtp support.

i am using following pipeline referring the example in the gstsrtpdec.c  (
https://github.com/GStreamer/gst-plugins-bad/blob/master/ext/srtp/gstsrtpdec.c)
to stream sample .mp4 file loopback mode in Ubuntu(20.04.03 LTS) and
observing error at encoder side:


GST_DEBUG=2 PEER_V=5000 PEER_IP=127.0.0.1
SELF_PATH="/home/microchip/sample-videos/sample-images/Samples/JPG/auto_rotate.jpg"
SELF_VSSRC=112233
SELF_KEY="feffe9928665731c6d6a8f9467308308feffe9928665731c6d6a8f9467308308cafebabefacedbaddecaf888"
bash -c 'gst-launch-1.0 -e \
filesrc location="$SELF_PATH" ! decodebin \
! x264enc tune=zerolatency \
! rtph264pay ! "application/x-rtp,payload=(int)103,ssrc=(uint)$SELF_VSSRC" \
! srtpenc key="$SELF_KEY" \
rtp-cipher="(string)aes-256-gcm" \
rtcp-cipher="(string)aes-256-gcm" \
! udpsink host=$PEER_IP port=$PEER_V'

and observing below warning/error message:
WARNING: erroneous pipeline: could not set property "rtp-cipher" in element
"srtpenc0" to "(string)aes-256-gcm

can someone please help us  with a pipeline for AES-GCM-256 use case  with
gstreamer  for both encoder and decoder

Thanks in advance

Praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20220525/c9707db8/attachment.htm>


More information about the gstreamer-embedded mailing list