From 51ca0bdf7b55e4556e4fa6ee61b5041d1b1e9379 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 20 Mar 2014 12:29:33 +0100 Subject: [PATCH] docs: add MIKEY docs --- docs/libs/gst-plugins-base-libs-docs.sgml | 10 +++ docs/libs/gst-plugins-base-libs-sections.txt | 84 ++++++++++++++++++++ gst-libs/gst/sdp/gstmikey.c | 14 ++++ gst-libs/gst/sdp/gstmikey.h | 4 +- 4 files changed, 109 insertions(+), 3 deletions(-) diff --git a/docs/libs/gst-plugins-base-libs-docs.sgml b/docs/libs/gst-plugins-base-libs-docs.sgml index fedb377c5d..bc3b067363 100644 --- a/docs/libs/gst-plugins-base-libs-docs.sgml +++ b/docs/libs/gst-plugins-base-libs-docs.sgml @@ -140,6 +140,16 @@ + + MIKEY Library + + This library should be linked to by getting cflags and libs from + gstreamer-plugins-base-&GST_API_VERSION;.pc and adding + -lgstsdp-&GST_API_VERSION; to the library flags. + + + + Tag Support Library diff --git a/docs/libs/gst-plugins-base-libs-sections.txt b/docs/libs/gst-plugins-base-libs-sections.txt index e1df111901..6d866340b5 100644 --- a/docs/libs/gst-plugins-base-libs-sections.txt +++ b/docs/libs/gst-plugins-base-libs-sections.txt @@ -1730,6 +1730,90 @@ gst_sdp_media_remove_attribute gst_sdp_media_add_attribute +
+gstmikey +gst/sdp/gstmikey.h + +GST_MIKEY_VERSION +GstMIKEYType +GstMIKEYMessage + +gst_mikey_message_new +gst_mikey_message_new_from_bytes +gst_mikey_message_new_from_data +gst_mikey_message_free +gst_mikey_message_to_bytes + + +GstMIKEYPRFFunc +GstMIKEYMapType +gst_mikey_message_set_info +gst_mikey_message_get_n_cs + + +GstMIKEYMapSRTP +gst_mikey_message_get_cs_srtp +gst_mikey_message_insert_cs_srtp +gst_mikey_message_remove_cs_srtp +gst_mikey_message_replace_cs_srtp +gst_mikey_message_add_cs_srtp + + +gst_mikey_message_get_n_payloads +gst_mikey_message_get_payload +gst_mikey_message_find_payload +gst_mikey_message_insert_payload +gst_mikey_message_remove_payload +gst_mikey_message_replace_payload +gst_mikey_message_add_payload + +GstMIKEYPayloadType +GstMIKEYPayloadClearFunc +GstMIKEYPayloadCopyFunc +GstMIKEYPayload +gst_mikey_payload_new +gst_mikey_payload_copy +gst_mikey_payload_free + + +GstMIKEYEncAlg +GstMIKEYMacAlg +GstMIKEYPayloadKEMAC +gst_mikey_payload_kemac_set +gst_mikey_message_add_kemac + + +GstMIKEYCacheType +GstMIKEYPayloadPKE +gst_mikey_payload_pke_set +gst_mikey_message_add_pke + + +GstMIKEYTSType +GstMIKEYPayloadT +gst_mikey_payload_t_set +gst_mikey_message_add_t +gst_mikey_message_add_t_now_ntp_utc + + +GstMIKEYPayloadRAND +gst_mikey_payload_rand_set +gst_mikey_message_add_rand +gst_mikey_message_add_rand_len + + +GstMIKEYSecProto +GstMIKEYSecSRTP +GstMIKEYPayloadSP +GstMIKEYPayloadSPParam +gst_mikey_payload_sp_set +gst_mikey_payload_sp_get_n_params +gst_mikey_payload_sp_get_param +gst_mikey_payload_sp_add_param +gst_mikey_payload_sp_remove_param + +
+ # tag
diff --git a/gst-libs/gst/sdp/gstmikey.c b/gst-libs/gst/sdp/gstmikey.c index 882f4109c1..9b38e1ad2a 100644 --- a/gst-libs/gst/sdp/gstmikey.c +++ b/gst-libs/gst/sdp/gstmikey.c @@ -19,6 +19,20 @@ * Boston, MA 02110-1301, USA. */ +/** + * SECTION:gstmikey + * @short_description: Helper methods for dealing with MIKEY messages + * + * + * + * The GstMIKEY helper functions makes it easy to parse and create MIKEY + * messages. + * + * + * + * Last reviewed on 2014-03-20 (1.3.0) + */ + #include #include "gstmikey.h" diff --git a/gst-libs/gst/sdp/gstmikey.h b/gst-libs/gst/sdp/gstmikey.h index 23d1e25d33..cb497e0801 100644 --- a/gst-libs/gst/sdp/gstmikey.h +++ b/gst-libs/gst/sdp/gstmikey.h @@ -366,9 +366,7 @@ typedef enum * GstMIKEYPayloadSP: * @pt: the payload header * @policy: the policy number - * @prot: the security protocol - * @param_len: the total length of the policy parameters for the - * specific security protocol + * @proto: the security protocol * @params: array of #GstMIKEYPayloadPSParam * * The Security Policy payload defines a set of policies that apply to a -- 2.34.1