mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
sdp: hide key length defines
They don't have a namespace.
This commit is contained in:
parent
bf9a3efb59
commit
d676c56888
3 changed files with 12 additions and 6 deletions
|
@ -1500,6 +1500,12 @@ make_server_transport (GstRTSPClient * client, GstRTSPContext * ctx,
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define AES_128_KEY_LEN 16
|
||||||
|
#define AES_256_KEY_LEN 32
|
||||||
|
|
||||||
|
#define HMAC_32_KEY_LEN 4
|
||||||
|
#define HMAC_80_KEY_LEN 10
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
mikey_apply_policy (GstCaps * caps, GstMIKEYMessage * msg, guint8 policy)
|
mikey_apply_policy (GstCaps * caps, GstMIKEYMessage * msg, guint8 policy)
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,6 +30,12 @@
|
||||||
|
|
||||||
#include "rtsp-sdp.h"
|
#include "rtsp-sdp.h"
|
||||||
|
|
||||||
|
#define AES_128_KEY_LEN 16
|
||||||
|
#define AES_256_KEY_LEN 32
|
||||||
|
|
||||||
|
#define HMAC_32_KEY_LEN 4
|
||||||
|
#define HMAC_80_KEY_LEN 10
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
get_info_from_tags (GstPad * pad, GstEvent ** event, gpointer user_data)
|
get_info_from_tags (GstPad * pad, GstEvent ** event, gpointer user_data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,12 +27,6 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define AES_128_KEY_LEN 16
|
|
||||||
#define AES_256_KEY_LEN 32
|
|
||||||
|
|
||||||
#define HMAC_32_KEY_LEN 4
|
|
||||||
#define HMAC_80_KEY_LEN 10
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
gboolean is_ipv6;
|
gboolean is_ipv6;
|
||||||
const gchar *server_ip;
|
const gchar *server_ip;
|
||||||
|
|
Loading…
Reference in a new issue