live555移植到android系统,参考某博客

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := liblive555

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES :=\
./groupsock/GroupEId.cpp \
./groupsock/IOHandlers.cpp \
./groupsock/NetInterface.cpp \
./groupsock/NetAddress.cpp \
./groupsock/GroupsockHelper.cpp \
./groupsock/Groupsock.cpp \
./groupsock/inet.c \
./BasicUsageEnvironment/DelayQueue.cpp \
./BasicUsageEnvironment/BasicHashTable.cpp \
./BasicUsageEnvironment/BasicUsageEnvironment.cpp \
./BasicUsageEnvironment/BasicUsageEnvironment0.cpp \
./BasicUsageEnvironment/BasicTaskScheduler.cpp \
./BasicUsageEnvironment/BasicTaskScheduler0.cpp \
./UsageEnvironment/HashTable.cpp \
./UsageEnvironment/strDup.cpp \
./UsageEnvironment/UsageEnvironment.cpp \
./liveMedia/MP3Internals.cpp \
./liveMedia/StreamReplicator.cpp \
./liveMedia/MPEG4GenericRTPSource.cpp \
./liveMedia/BitVector.cpp \
./liveMedia/MatroskaFileParser.cpp \
./liveMedia/ADTSAudioFileServerMediaSubsession.cpp \
./liveMedia/H264VideoRTPSink.cpp \
./liveMedia/MP3StreamState.cpp \
./liveMedia/RTSPServerSupportingHTTPStreaming.cpp \
./liveMedia/MP3AudioMatroskaFileServerMediaSubsession.cpp \
./liveMedia/InputFile.cpp \
./liveMedia/MPEGVideoStreamParser.cpp \
./liveMedia/AMRAudioFileSource.cpp \
./liveMedia/Locale.cpp \
./liveMedia/T140TextRTPSink.cpp \
./liveMedia/MediaSink.cpp \
./liveMedia/QuickTimeFileSink.cpp \
./liveMedia/RTPSink.cpp \
./liveMedia/VorbisAudioRTPSink.cpp \
./liveMedia/AMRAudioFileSink.cpp \
./liveMedia/MP3ADUTranscoder.cpp \
./liveMedia/VorbisAudioMatroskaFileServerMediaSubsession.cpp \
./liveMedia/H264VideoFileServerMediaSubsession.cpp \
./liveMedia/H263plusVideoRTPSource.cpp \
./liveMedia/RTSPClient.cpp \
./liveMedia/DVVideoRTPSource.cpp \
./liveMedia/H264VideoStreamFramer.cpp \
./liveMedia/DVVideoStreamFramer.cpp \
./liveMedia/MultiFramedRTPSink.cpp \
./liveMedia/BasicUDPSink.cpp \
./liveMedia/Base64.cpp \
./liveMedia/H261VideoRTPSource.cpp \
./liveMedia/MP3InternalsHuffman.cpp \
./liveMedia/MPEG2TransportStreamMultiplexor.cpp \
./liveMedia/MP3AudioFileServerMediaSubsession.cpp \
./liveMedia/MPEG1or2AudioRTPSource.cpp \
./liveMedia/H263plusVideoFileServerMediaSubsession.cpp \
./liveMedia/MP3Transcoder.cpp \
./liveMedia/H263plusVideoStreamParser.cpp \
./liveMedia/AudioInputDevice.cpp \
./liveMedia/MP3FileSource.cpp \
./liveMedia/MPEG4LATMAudioRTPSource.cpp \
./liveMedia/MPEG2TransportStreamFromPESSource.cpp \
./liveMedia/AACAudioMatroskaFileServerMediaSubsession.cpp \
./liveMedia/WAVAudioFileServerMediaSubsession.cpp \
./liveMedia/MP3ADURTPSource.cpp \
./liveMedia/FileSink.cpp \
./liveMedia/MPEG1or2DemuxedServerMediaSubsession.cpp \
./liveMedia/MP3InternalsHuffmanTable.cpp \
./liveMedia/TCPStreamSink.cpp \
./liveMedia/MediaSource.cpp \
./liveMedia/MPEG2TransportStreamFramer.cpp \
./liveMedia/JPEGVideoRTPSink.cpp \
./liveMedia/JPEGVideoSource.cpp \
./liveMedia/AC3AudioFileServerMediaSubsession.cpp \
./liveMedia/AMRAudioRTPSink.cpp \
./liveMedia/MPEG4VideoFileServerMediaSubsession.cpp \
./liveMedia/AMRAudioFileServerMediaSubsession.cpp \
./liveMedia/H264VideoMatroskaFileServerMediaSubsession.cpp \
./liveMedia/MPEG2IndexFromTransportStream.cpp \
./liveMedia/MPEG1or2FileServerDemux.cpp \
./liveMedia/GSMAudioRTPSink.cpp \
./liveMedia/MPEG1or2VideoStreamFramer.cpp \
./liveMedia/AMRAudioRTPSource.cpp \
./liveMedia/EBMLNumber.cpp \
./liveMedia/MP3ADUinterleaving.cpp \
./liveMedia/SimpleRTPSink.cpp \
./liveMedia/MPEG1or2VideoRTPSink.cpp \
./liveMedia/MPEG2TransportStreamTrickModeFilter.cpp \
./liveMedia/AC3AudioRTPSource.cpp \
./liveMedia/MultiFramedRTPSource.cpp \
./liveMedia/ServerMediaSession.cpp \
./liveMedia/JPEGVideoRTPSource.cpp \
./liveMedia/MP3ADU.cpp \
./liveMedia/FileServerMediaSubsession.cpp \
./liveMedia/DVVideoFileServerMediaSubsession.cpp \
./liveMedia/DarwinInjector.cpp \
./liveMedia/OnDemandServerMediaSubsession.cpp \
./liveMedia/H263plusVideoRTPSink.cpp \
./liveMedia/TextRTPSink.cpp \
./liveMedia/MPEG1or2VideoStreamDiscreteFramer.cpp \
./liveMedia/MediaSession.cpp \
./liveMedia/AC3AudioStreamFramer.cpp \
./liveMedia/QuickTimeGenericRTPSource.cpp \
./liveMedia/SimpleRTPSource.cpp \
./liveMedia/FramedFileSource.cpp \
./liveMedia/T140TextMatroskaFileServerMediaSubsession.cpp \
./liveMedia/PassiveServerMediaSubsession.cpp \
./liveMedia/ByteStreamMemoryBufferSource.cpp \
./liveMedia/RTCP.cpp \
./liveMedia/MP3ADURTPSink.cpp \
./liveMedia/ADTSAudioFileSource.cpp \
./liveMedia/MPEG1or2VideoRTPSource.cpp \
./liveMedia/MPEG1or2VideoFileServerMediaSubsession.cpp \
./liveMedia/MPEG4ESVideoRTPSink.cpp \
./liveMedia/RTPSource.cpp \
./liveMedia/H264VideoStreamDiscreteFramer.cpp \
./liveMedia/AVIFileSink.cpp \
./liveMedia/StreamParser.cpp \
./liveMedia/MPEG2TransportStreamFromESSource.cpp \
./liveMedia/VP8VideoRTPSink.cpp \
./liveMedia/FramedFilter.cpp \
./liveMedia/VideoRTPSink.cpp \
./liveMedia/MPEG4VideoStreamDiscreteFramer.cpp \
./liveMedia/QCELPAudioRTPSource.cpp \
./liveMedia/MPEG4VideoStreamFramer.cpp \
./liveMedia/Media.cpp \
./liveMedia/ByteStreamMultiFileSource.cpp \
./liveMedia/MPEG2TransportUDPServerMediaSubsession.cpp \
./liveMedia/H263plusVideoStreamFramer.cpp \
./liveMedia/VorbisAudioRTPSource.cpp \
./liveMedia/RTSPCommon.cpp \
./liveMedia/FramedSource.cpp \
./liveMedia/MatroskaDemuxedTrack.cpp \
./liveMedia/MPEG1or2AudioStreamFramer.cpp \
./liveMedia/VP8VideoMatroskaFileServerMediaSubsession.cpp \
./liveMedia/MPEG1or2Demux.cpp \
./liveMedia/AudioRTPSink.cpp \
./liveMedia/DeviceSource.cpp \
./liveMedia/MPEG1or2AudioRTPSink.cpp \
./liveMedia/ByteStreamFileSource.cpp \
./liveMedia/WAVAudioFileSource.cpp \
./liveMedia/uLawAudioFilter.cpp \
./liveMedia/RTSPServer.cpp \
./liveMedia/VP8VideoRTPSource.cpp \
./liveMedia/H264VideoRTPSource.cpp \
./liveMedia/MatroskaFileServerDemux.cpp \
./liveMedia/MPEG4LATMAudioRTPSink.cpp \
./liveMedia/MPEG2TransportStreamIndexFile.cpp \
./liveMedia/SIPClient.cpp \
./liveMedia/BasicUDPSource.cpp \
./liveMedia/AC3AudioMatroskaFileServerMediaSubsession.cpp \
./liveMedia/H264VideoFileSink.cpp \
./liveMedia/MPEG2TransportFileServerMediaSubsession.cpp \
./liveMedia/DigestAuthentication.cpp \
./liveMedia/MPEG4ESVideoRTPSource.cpp \
./liveMedia/MatroskaFile.cpp \
./liveMedia/MP3ADUdescriptor.cpp \
./liveMedia/AMRAudioSource.cpp \
./liveMedia/MPEG4GenericRTPSink.cpp \
./liveMedia/MPEGVideoStreamFramer.cpp \
./liveMedia/AC3AudioRTPSink.cpp \
./liveMedia/DVVideoRTPSink.cpp \
./liveMedia/OutputFile.cpp \
./liveMedia/MPEG1or2DemuxedElementaryStream.cpp \
./liveMedia/RTPInterface.cpp \
./liveMedia/our_md5hl.c \
./liveMedia/our_md5.c \
./liveMedia/rtcp_from_spec.c


LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/liveMedia/include \
$(LOCAL_PATH)/BasicUsageEnvironment/include \
$(LOCAL_PATH)/groupsock/include \
$(LOCAL_PATH)/UsageEnvironment/include

LOCAL_SHARED_LIBRARIES := libcutils  libc libstdc++

LOCAL_LDFLAGS += -lstdc++ -lsupc++

LOCAL_CPPFLAGS +=  -DXLOCALE_NOT_USED=1 -DNULL=0 -DNO_SSTREAM=1 -UIP_ADD_SOURCE_MEMBERSHIP -fexceptions

include $(BUILD_SHARED_LIBRARY)

#LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := rtpsrv

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES :=\
   mediaServer/DynamicRTSPServer.cpp \
   mediaServer/live555MediaServer.cpp

LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/liveMedia/include \
$(LOCAL_PATH)/mediaServer \
$(LOCAL_PATH)/BasicUsageEnvironment/include \
$(LOCAL_PATH)/groupsock/include \
$(LOCAL_PATH)/UsageEnvironment/include

LOCAL_SHARED_LIBRARIES := libcutils  libc liblive555

LOCAL_LDFLAGS += -lstdc++ -lsupc++

LOCAL_CPPFLAGS +=  -Wall -DBSD=1 -O2 -DSOCKLEN_T=socklen_t -DNO_SSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64

include $(BUILD_EXECUTABLE)

你可能感兴趣的:(live555移植到android系统,参考某博客)