Fix zrtp linker issue when building with VS

parent 87ee7878
......@@ -381,7 +381,7 @@
>
</File>
<File
RelativePath="..\..\include\zrtp.h"
RelativePath="..\..\include\ortp\zrtp.h"
>
</File>
</Filter>
......
......@@ -69,6 +69,7 @@ typedef struct _OrtpZrtpContext OrtpZrtpContext ;
ORTP_PUBLIC OrtpZrtpContext* ortp_zrtp_context_new(RtpSession *s, OrtpZrtpParams *params);
ORTP_PUBLIC OrtpZrtpContext* ortp_zrtp_multistream_new(OrtpZrtpContext* os, RtpSession *s, OrtpZrtpParams *params);
ORTP_PUBLIC bool_t ortp_zrtp_available();
ORTP_PUBLIC void ortp_zrtp_sas_verified(OrtpZrtpContext* ctx);
ORTP_PUBLIC void ortp_zrtp_sas_reset_verified(OrtpZrtpContext* ctx);
......
......@@ -42,6 +42,11 @@ OrtpZrtpContext* ortp_zrtp_context_new(RtpSession *s, OrtpZrtpParams *params){
return NULL;
}
OrtpZrtpContext* ortp_zrtp_multistream_new(OrtpZrtpContext* o, RtpSession *s, OrtpZrtpParams *params){
ortp_message("ZRTP is disabled - not compiled");
return NULL;
}
bool_t ortp_zrtp_available(){return FALSE;}
void ortp_zrtp_sas_verified(OrtpZrtpContext* ctx){}
void ortp_zrtp_sas_reset_verified(OrtpZrtpContext* ctx){}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment