mediastreamer include files include ortp headers which muddy namespace

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mediastreamer include files include ortp headers which muddy namespace

Craig McQueen
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

_______________________________________________
Linphone-developers mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-developers