Commit d81b5016 authored by jehan's avatar jehan

fix iPhone compilation issues

parent 6f2612b0
......@@ -134,7 +134,7 @@ case $target_os in
MSPLUGINS_CFLAGS=""
MSPLUGINS_LIBS="-dynamiclib"
macosx_found=yes
LIBS="$LIBS -framework CoreFoundation -framework AudioToolbox -framework CoreAudio -framework Carbon -framework AudioUnit"
LIBS="$LIBS -framework CoreFoundation -framework AudioToolbox -framework CoreAudio "
;;
*mingw32ce)
CFLAGS="$CFLAGS -DINET6 -DORTP_INET6 -D_WIN32_WINNT=0x0501 -D_WIN32_WCE -DORTP_STATIC"
......@@ -356,6 +356,7 @@ if test "$macosx_found" = "yes" ; then
if test "$macsnd" = "true"; then
AC_DEFINE(__MACSND_ENABLED__,1,[defined if native macosx sound support is available])
macsnd_enabled=true
LIBS="$LIBS -framework Carbon -framework AudioUnit"
found_sound=yes
fi
if test "$macaqsnd" = "true"; then
......
......@@ -260,12 +260,12 @@ static void run_media_streams(int localport, const char *remote_ip, int remotepo
AudioStream *audio=NULL;
#ifdef VIDEO_ENABLED
VideoStream *video=NULL;
MSWebCam *cam=NULL;
#endif
RtpSession *session=NULL;
PayloadType *pt;
RtpProfile *profile=rtp_profile_clone_full(&av_profile);
OrtpEvQueue *q=ortp_ev_queue_new();
MSWebCam *cam=NULL;
ms_init();
signal(SIGINT,stop_handler);
......
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