├── .gitignore ├── CMakeLists.txt ├── LICENSE ├── README.md └── src ├── AVPacket ├── AVReadPacket.cpp ├── AVReadPacket.h ├── AVWritePacket.cpp ├── AVWritePacket.h └── CMakeLists.txt ├── CMakeLists.txt ├── adts ├── CMakeLists.txt ├── adtsHeader.cpp ├── adtsHeader.h ├── adtsReader.cpp └── adtsReader.h ├── bitStream ├── CMakeLists.txt ├── readStream.cpp ├── readStream.h ├── writeStream.cpp └── writeStream.h ├── flashVideo ├── CMakeLists.txt ├── FLVAudioTag.cpp ├── FLVAudioTag.h ├── FLVHeader.cpp ├── FLVHeader.h ├── FLVScriptTag.cpp ├── FLVScriptTag.h ├── FLVTagHeader.cpp ├── FLVTagHeader.h ├── FLVVideoTag.cpp └── FLVVideoTag.h ├── log ├── CMakeLists.txt ├── logger.cpp └── logger.h ├── main.cpp ├── nalu ├── CMakeLists.txt ├── NALDecodedPictureBuffer.cpp ├── NALDecodedPictureBuffer.h ├── NALHeader.cpp ├── NALHeader.h ├── NALPicture.cpp ├── NALPicture.h ├── NALPictureParameterSet.cpp ├── NALPictureParameterSet.h ├── NALReader.cpp ├── NALReader.h ├── NALSeqParameterSet.cpp ├── NALSeqParameterSet.h ├── NALSliceHeader.cpp └── NALSliceHeader.h ├── protocol ├── CMakeLists.txt ├── http.cpp ├── http.h ├── httpFlv.cpp ├── httpFlv.h ├── httpHls.cpp ├── httpHls.h ├── rtsp.cpp ├── rtsp.h ├── rtspReceiveData.cpp ├── rtspReceiveData.h ├── rtspSendData.cpp └── rtspSendData.h ├── server ├── CMakeLists.txt ├── server.cpp └── server.h ├── socket ├── CMakeLists.txt ├── Socket.h ├── TcpSocket.cpp ├── TcpSocket.h ├── UdpSocket.cpp └── UdpSocket.h ├── threadPool ├── CMakeLists.txt ├── httpTask.cpp ├── httpTask.h ├── rtspTask.cpp ├── rtspTask.h ├── task.cpp ├── task.h ├── threadPool.cpp └── threadPool.h ├── transportStream ├── CMakeLists.txt ├── PES.cpp ├── PES.h ├── SI.cpp ├── SI.h ├── demuxPacket.cpp ├── demuxPacket.h ├── transportPacket.cpp └── transportPacket.h └── utils ├── CMakeLists.txt ├── parseUrl.cpp ├── parseUrl.h ├── util.cpp └── util.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/.gitignore -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/README.md -------------------------------------------------------------------------------- /src/AVPacket/AVReadPacket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/AVPacket/AVReadPacket.cpp -------------------------------------------------------------------------------- /src/AVPacket/AVReadPacket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/AVPacket/AVReadPacket.h -------------------------------------------------------------------------------- /src/AVPacket/AVWritePacket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/AVPacket/AVWritePacket.cpp -------------------------------------------------------------------------------- /src/AVPacket/AVWritePacket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/AVPacket/AVWritePacket.h -------------------------------------------------------------------------------- /src/AVPacket/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/AVPacket/CMakeLists.txt -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/CMakeLists.txt -------------------------------------------------------------------------------- /src/adts/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/adts/CMakeLists.txt -------------------------------------------------------------------------------- /src/adts/adtsHeader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/adts/adtsHeader.cpp -------------------------------------------------------------------------------- /src/adts/adtsHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/adts/adtsHeader.h -------------------------------------------------------------------------------- /src/adts/adtsReader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/adts/adtsReader.cpp -------------------------------------------------------------------------------- /src/adts/adtsReader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/adts/adtsReader.h -------------------------------------------------------------------------------- /src/bitStream/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/bitStream/CMakeLists.txt -------------------------------------------------------------------------------- /src/bitStream/readStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/bitStream/readStream.cpp -------------------------------------------------------------------------------- /src/bitStream/readStream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/bitStream/readStream.h -------------------------------------------------------------------------------- /src/bitStream/writeStream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/bitStream/writeStream.cpp -------------------------------------------------------------------------------- /src/bitStream/writeStream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/bitStream/writeStream.h -------------------------------------------------------------------------------- /src/flashVideo/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/CMakeLists.txt -------------------------------------------------------------------------------- /src/flashVideo/FLVAudioTag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVAudioTag.cpp -------------------------------------------------------------------------------- /src/flashVideo/FLVAudioTag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVAudioTag.h -------------------------------------------------------------------------------- /src/flashVideo/FLVHeader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVHeader.cpp -------------------------------------------------------------------------------- /src/flashVideo/FLVHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVHeader.h -------------------------------------------------------------------------------- /src/flashVideo/FLVScriptTag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVScriptTag.cpp -------------------------------------------------------------------------------- /src/flashVideo/FLVScriptTag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVScriptTag.h -------------------------------------------------------------------------------- /src/flashVideo/FLVTagHeader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVTagHeader.cpp -------------------------------------------------------------------------------- /src/flashVideo/FLVTagHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVTagHeader.h -------------------------------------------------------------------------------- /src/flashVideo/FLVVideoTag.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVVideoTag.cpp -------------------------------------------------------------------------------- /src/flashVideo/FLVVideoTag.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/flashVideo/FLVVideoTag.h -------------------------------------------------------------------------------- /src/log/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/log/CMakeLists.txt -------------------------------------------------------------------------------- /src/log/logger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/log/logger.cpp -------------------------------------------------------------------------------- /src/log/logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/log/logger.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/nalu/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/CMakeLists.txt -------------------------------------------------------------------------------- /src/nalu/NALDecodedPictureBuffer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALDecodedPictureBuffer.cpp -------------------------------------------------------------------------------- /src/nalu/NALDecodedPictureBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALDecodedPictureBuffer.h -------------------------------------------------------------------------------- /src/nalu/NALHeader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALHeader.cpp -------------------------------------------------------------------------------- /src/nalu/NALHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALHeader.h -------------------------------------------------------------------------------- /src/nalu/NALPicture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALPicture.cpp -------------------------------------------------------------------------------- /src/nalu/NALPicture.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALPicture.h -------------------------------------------------------------------------------- /src/nalu/NALPictureParameterSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALPictureParameterSet.cpp -------------------------------------------------------------------------------- /src/nalu/NALPictureParameterSet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALPictureParameterSet.h -------------------------------------------------------------------------------- /src/nalu/NALReader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALReader.cpp -------------------------------------------------------------------------------- /src/nalu/NALReader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALReader.h -------------------------------------------------------------------------------- /src/nalu/NALSeqParameterSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALSeqParameterSet.cpp -------------------------------------------------------------------------------- /src/nalu/NALSeqParameterSet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALSeqParameterSet.h -------------------------------------------------------------------------------- /src/nalu/NALSliceHeader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALSliceHeader.cpp -------------------------------------------------------------------------------- /src/nalu/NALSliceHeader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/nalu/NALSliceHeader.h -------------------------------------------------------------------------------- /src/protocol/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/CMakeLists.txt -------------------------------------------------------------------------------- /src/protocol/http.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/http.cpp -------------------------------------------------------------------------------- /src/protocol/http.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/http.h -------------------------------------------------------------------------------- /src/protocol/httpFlv.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/httpFlv.cpp -------------------------------------------------------------------------------- /src/protocol/httpFlv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/httpFlv.h -------------------------------------------------------------------------------- /src/protocol/httpHls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/httpHls.cpp -------------------------------------------------------------------------------- /src/protocol/httpHls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/httpHls.h -------------------------------------------------------------------------------- /src/protocol/rtsp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtsp.cpp -------------------------------------------------------------------------------- /src/protocol/rtsp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtsp.h -------------------------------------------------------------------------------- /src/protocol/rtspReceiveData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtspReceiveData.cpp -------------------------------------------------------------------------------- /src/protocol/rtspReceiveData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtspReceiveData.h -------------------------------------------------------------------------------- /src/protocol/rtspSendData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtspSendData.cpp -------------------------------------------------------------------------------- /src/protocol/rtspSendData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/protocol/rtspSendData.h -------------------------------------------------------------------------------- /src/server/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/server/CMakeLists.txt -------------------------------------------------------------------------------- /src/server/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/server/server.cpp -------------------------------------------------------------------------------- /src/server/server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/server/server.h -------------------------------------------------------------------------------- /src/socket/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/CMakeLists.txt -------------------------------------------------------------------------------- /src/socket/Socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/Socket.h -------------------------------------------------------------------------------- /src/socket/TcpSocket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/TcpSocket.cpp -------------------------------------------------------------------------------- /src/socket/TcpSocket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/TcpSocket.h -------------------------------------------------------------------------------- /src/socket/UdpSocket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/UdpSocket.cpp -------------------------------------------------------------------------------- /src/socket/UdpSocket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/socket/UdpSocket.h -------------------------------------------------------------------------------- /src/threadPool/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/CMakeLists.txt -------------------------------------------------------------------------------- /src/threadPool/httpTask.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/httpTask.cpp -------------------------------------------------------------------------------- /src/threadPool/httpTask.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/httpTask.h -------------------------------------------------------------------------------- /src/threadPool/rtspTask.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/rtspTask.cpp -------------------------------------------------------------------------------- /src/threadPool/rtspTask.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/rtspTask.h -------------------------------------------------------------------------------- /src/threadPool/task.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/task.cpp -------------------------------------------------------------------------------- /src/threadPool/task.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/task.h -------------------------------------------------------------------------------- /src/threadPool/threadPool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/threadPool.cpp -------------------------------------------------------------------------------- /src/threadPool/threadPool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/threadPool/threadPool.h -------------------------------------------------------------------------------- /src/transportStream/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/CMakeLists.txt -------------------------------------------------------------------------------- /src/transportStream/PES.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/PES.cpp -------------------------------------------------------------------------------- /src/transportStream/PES.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/PES.h -------------------------------------------------------------------------------- /src/transportStream/SI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/SI.cpp -------------------------------------------------------------------------------- /src/transportStream/SI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/SI.h -------------------------------------------------------------------------------- /src/transportStream/demuxPacket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/demuxPacket.cpp -------------------------------------------------------------------------------- /src/transportStream/demuxPacket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/demuxPacket.h -------------------------------------------------------------------------------- /src/transportStream/transportPacket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/transportPacket.cpp -------------------------------------------------------------------------------- /src/transportStream/transportPacket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/transportStream/transportPacket.h -------------------------------------------------------------------------------- /src/utils/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/utils/CMakeLists.txt -------------------------------------------------------------------------------- /src/utils/parseUrl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/utils/parseUrl.cpp -------------------------------------------------------------------------------- /src/utils/parseUrl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/utils/parseUrl.h -------------------------------------------------------------------------------- /src/utils/util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/utils/util.cpp -------------------------------------------------------------------------------- /src/utils/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xfxhn/mediaServer/HEAD/src/utils/util.h --------------------------------------------------------------------------------