linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] mediastreamer include files include ortp headers w


From: Craig McQueen
Subject: [Linphone-developers] mediastreamer include files include ortp headers which muddy namespace
Date: Wed, 8 Jan 2014 00:07:12 +0000

I'm trying to use libmediastreamer 2.9.1. The include files include some ortp 
header files:

mediastreamer2/mediastream.h
--> mediastreamer2/ice.h
    --> ortp/stun_udp.h


That ortp header file defines or typedefs identifiers with names like

Socket
INVALID_SOCKET
SOCKET_ERROR

Socket clashes with an identifier in my project, and INVALID_SOCKET can clash 
with a similar but slightly different macro in other places (such as sofia-sip 
library).

Can the include file dependencies be cleaned up for the public libmediastreamer 
include files, so they only define the mediastreamer API, and not bring in 
other unrelated symbols?

Regards,
Craig McQueen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]