summaryrefslogtreecommitdiff
path: root/modules/zrtp/zrtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/zrtp/zrtp.c')
-rw-r--r--modules/zrtp/zrtp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/zrtp/zrtp.c b/modules/zrtp/zrtp.c
index 4821044..eddb364 100644
--- a/modules/zrtp/zrtp.c
+++ b/modules/zrtp/zrtp.c
@@ -166,7 +166,9 @@ static int media_alloc(struct menc_media **stp, struct menc_sess *sess,
{
struct menc_media *st;
zrtp_status_t s;
+ int layer = 10; /* above zero */
int err = 0;
+ (void)rtcpsock;
if (!stp || !sess || proto != IPPROTO_UDP)
return EINVAL;
@@ -182,7 +184,7 @@ static int media_alloc(struct menc_media **stp, struct menc_sess *sess,
st->sess = sess;
st->rtpsock = mem_ref(rtpsock);
- err = udp_register_helper(&st->uh, rtpsock, 0,
+ err = udp_register_helper(&st->uh, rtpsock, layer,
udp_helper_send, udp_helper_recv, st);
if (err)
goto out;