Hello,
I am attempting to use gstreamer for audio encryption using SRTP but am unable to get a working pipeline. Can anyone suggest what is wrong here: GST_DEBUG=2 gst-launch-1.0 -v audiotestsrc wave=2 freq=200 ! alawenc ! rtppcmapay ! 'application/x-rtp, payload=(int)8, ssrc=(uint)123' ! srtpenc key="012345678901234567890123456789012345678901234567890123456789" ! udpsink host=127.0.0.1 port=5555 GST_DEBUG=2 gst-launch-1.0 udpsrc port=5555 caps='application/x-srtp, payload=(int)8, ssrc=(uint)123, srtp-key=(buffer)012345678901234567890123456789012345678901234567890123456789, srtp-cipher=(string)aes-128-icm, srtp-auth=(string)hmac-sha1-80, srtcp-cipher=(string)aes-128-icm, srtcp-auth=(string)hmac-sha1-80' ! srtpdec ! rtppcmadepay ! alawdec ! pulsesink The receiver is dropping data with the following warning: :770:request_key_with_signal:<srtpdec0> Could not get caps for stream with SSRC 123 0:00:12.994153383 7472 0x202e770 WARN srtpdec gstsrtpdec.c:1212:gst_srtp_dec_chain:<srtpdec0> Invalid buffer, dropping Thanks. -- [hidden email] +44 (0)7588 606410 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Mon, 2018-03-26 at 10:35 +0100, Toby Jaffey wrote:
> Hello, > > I am attempting to use gstreamer for audio encryption using SRTP but > am unable to get a working pipeline. > Can anyone suggest what is wrong here: > > GST_DEBUG=2 gst-launch-1.0 -v audiotestsrc wave=2 freq=200 ! alawenc > ! rtppcmapay ! 'application/x-rtp, payload=(int)8, ssrc=(uint)123' ! > srtpenc > key="012345678901234567890123456789012345678901234567890123456789" ! > udpsink host=127.0.0.1 port=5555 > > GST_DEBUG=2 gst-launch-1.0 udpsrc port=5555 caps='application/x-srtp, > payload=(int)8, ssrc=(uint)123, srtp- > key=(buffer)012345678901234567890123456789012345678901234567890123456 > 789, srtp-cipher=(string)aes-128-icm, srtp-auth=(string)hmac-sha1-80, > srtcp-cipher=(string)aes-128-icm, srtcp-auth=(string)hmac-sha1-80' > ! srtpdec ! rtppcmadepay ! alawdec ! pulsesink > > The receiver is dropping data with the following warning: > > :770:request_key_with_signal:<srtpdec0> Could not get caps for stream > with SSRC 123 > 0:00:12.994153383 7472 0x202e770 WARN srtpdec > gstsrtpdec.c:1212:gst_srtp_dec_chain:<srtpdec0> Invalid buffer, > dropping caps there, or make sure to set complete caps on the stream via udpsrc. Your caps are missing the "roc" field at least. -- Sebastian Dröge, Centricular Ltd · https://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (981 bytes) Download Attachment |
Free forum by Nabble | Edit this page |