diff --git a/ext/srtp/gstsrtpdec.c b/ext/srtp/gstsrtpdec.c index a2580b7f25..73193712d4 100644 --- a/ext/srtp/gstsrtpdec.c +++ b/ext/srtp/gstsrtpdec.c @@ -46,6 +46,7 @@ /** * SECTION:element-srtpdec + * @see_also: srtpenc * * gstrtpdec acts as a decoder that removes security from SRTP and SRTCP * packets (encryption and authentication) and out RTP and RTCP. It @@ -88,11 +89,15 @@ * has been updated. * * - * Example pipeline + * Example pipelines * |[ - * gst-launch-0.10 udpsrc port=33333 caps="application/x-rtp,mkey=(string)bafbafbaf,..." ! rtpspeexdepay ! speexdec ! alsasink - * ]| Receive SPEEX SRTP or SRTCP packets through UDP using caps to specify - * master key and protection. It outs RTP or SRTP packets. + * gst-launch-1.0 udpsrc port=5004 caps='application/x-srtp, payload=(int)8, ssrc=(uint)1356955624, 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 + * ]| Receive PCMA SRTP packets through UDP using caps to specify + * master key and protection. + * |[ + * gst-launch-1.0 audiotestsrc ! alawenc ! rtppcmapay ! 'application/x-rtp, payload=(int)8, ssrc=(uint)1356955624' ! srtpenc key="012345678901234567890123456789012345678901234567890123456789" ! udpsink port=5004 + * ]| Send PCMA SRTP packets through UDP, nothing how the SSRC is forced so + * that the receiver will recognize it. * */ diff --git a/ext/srtp/gstsrtpenc.c b/ext/srtp/gstsrtpenc.c index 264aa6525e..5335a254d9 100644 --- a/ext/srtp/gstsrtpenc.c +++ b/ext/srtp/gstsrtpenc.c @@ -45,7 +45,8 @@ */ /** - * SECTION:element-srtpenc + * SECTION:gst-plugin-bad-plugins-srtpenc + * @see_also: srtpdec * * gstrtpenc acts as an encoder that adds security to RTP and RTCP * packets in the form of encryption and authentication. It outs SRTP @@ -90,13 +91,6 @@ * subsequent packet is dropped, until a new key is set and the stream * has been updated. * - * - * Example pipeline - * |[ - * gst-launch-0.10 --gst-debug=srtp*:5 audiotestsrc ! speexenc ! rtpspeexpay ! srtpenc key=bafbafbaf ! udpsink port=33333 - * ]| Enc SPEEX RTP packets through srtpenc using default protection - * and costum master key, and out on UDP port 33333. - * */ #ifdef HAVE_CONFIG_H