├── .cproject ├── .project ├── LICENSE ├── Makefile ├── README.md ├── VS2017 ├── rtsp.sln ├── rtsp.vcxproj ├── rtsp.vcxproj.filters └── rtsp.vcxproj.user ├── example ├── rtsp_aac_file.cpp ├── rtsp_h264_file.cpp ├── rtsp_h265_file.cpp ├── rtsp_pusher.cpp └── rtsp_server.cpp ├── sample_640x360.265 ├── sample_960x540.265 ├── src ├── 3rdpart │ └── md5 │ │ ├── COPYING │ │ └── md5.hpp ├── bsalgo │ ├── bs.cpp │ ├── bs.h │ └── h265_stream.h ├── net │ ├── Acceptor.cpp │ ├── Acceptor.h │ ├── BufferReader.cpp │ ├── BufferReader.h │ ├── BufferWriter.cpp │ ├── BufferWriter.h │ ├── Channel.h │ ├── EpollTaskScheduler.cpp │ ├── EpollTaskScheduler.h │ ├── EventLoop.cpp │ ├── EventLoop.h │ ├── Logger.cpp │ ├── Logger.h │ ├── MemoryManager.cpp │ ├── MemoryManager.h │ ├── NetInterface.cpp │ ├── NetInterface.h │ ├── Pipe.cpp │ ├── Pipe.h │ ├── RingBuffer.h │ ├── SelectTaskScheduler.cpp │ ├── SelectTaskScheduler.h │ ├── Socket.h │ ├── SocketUtil.cpp │ ├── SocketUtil.h │ ├── TaskScheduler.cpp │ ├── TaskScheduler.h │ ├── TcpConnection.cpp │ ├── TcpConnection.h │ ├── TcpServer.cpp │ ├── TcpServer.h │ ├── TcpSocket.cpp │ ├── TcpSocket.h │ ├── Timer.cpp │ ├── Timer.h │ ├── Timestamp.cpp │ ├── Timestamp.h │ └── log.h └── xop │ ├── AACSource.cpp │ ├── AACSource.h │ ├── DigestAuthentication.cpp │ ├── DigestAuthentication.h │ ├── G711ASource.cpp │ ├── G711ASource.h │ ├── H264Parser.cpp │ ├── H264Parser.h │ ├── H264Source.cpp │ ├── H264Source.h │ ├── H265Source.cpp │ ├── H265Source.h │ ├── MediaSession.cpp │ ├── MediaSession.h │ ├── MediaSource.h │ ├── RtpConnection.cpp │ ├── RtpConnection.h │ ├── RtspConnection.cpp │ ├── RtspConnection.h │ ├── RtspMessage.cpp │ ├── RtspMessage.h │ ├── RtspPusher.cpp │ ├── RtspPusher.h │ ├── RtspServer.cpp │ ├── RtspServer.h │ ├── SenderReport.cpp │ ├── SenderReport.h │ ├── VP8Source.cpp │ ├── VP8Source.h │ ├── media.h │ ├── rtp.h │ └── rtsp.h ├── test-2ch-44100hz.aac └── test.264 /.cproject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/.cproject -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/.project -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/README.md -------------------------------------------------------------------------------- /VS2017/rtsp.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/VS2017/rtsp.sln -------------------------------------------------------------------------------- /VS2017/rtsp.vcxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/VS2017/rtsp.vcxproj -------------------------------------------------------------------------------- /VS2017/rtsp.vcxproj.filters: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/VS2017/rtsp.vcxproj.filters -------------------------------------------------------------------------------- /VS2017/rtsp.vcxproj.user: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/VS2017/rtsp.vcxproj.user -------------------------------------------------------------------------------- /example/rtsp_aac_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/example/rtsp_aac_file.cpp -------------------------------------------------------------------------------- /example/rtsp_h264_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/example/rtsp_h264_file.cpp -------------------------------------------------------------------------------- /example/rtsp_h265_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/example/rtsp_h265_file.cpp -------------------------------------------------------------------------------- /example/rtsp_pusher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/example/rtsp_pusher.cpp -------------------------------------------------------------------------------- /example/rtsp_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/example/rtsp_server.cpp -------------------------------------------------------------------------------- /sample_640x360.265: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/sample_640x360.265 -------------------------------------------------------------------------------- /sample_960x540.265: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/sample_960x540.265 -------------------------------------------------------------------------------- /src/3rdpart/md5/COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/3rdpart/md5/COPYING -------------------------------------------------------------------------------- /src/3rdpart/md5/md5.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/3rdpart/md5/md5.hpp -------------------------------------------------------------------------------- /src/bsalgo/bs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/bsalgo/bs.cpp -------------------------------------------------------------------------------- /src/bsalgo/bs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/bsalgo/bs.h -------------------------------------------------------------------------------- /src/bsalgo/h265_stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/bsalgo/h265_stream.h -------------------------------------------------------------------------------- /src/net/Acceptor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Acceptor.cpp -------------------------------------------------------------------------------- /src/net/Acceptor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Acceptor.h -------------------------------------------------------------------------------- /src/net/BufferReader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/BufferReader.cpp -------------------------------------------------------------------------------- /src/net/BufferReader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/BufferReader.h -------------------------------------------------------------------------------- /src/net/BufferWriter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/BufferWriter.cpp -------------------------------------------------------------------------------- /src/net/BufferWriter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/BufferWriter.h -------------------------------------------------------------------------------- /src/net/Channel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Channel.h -------------------------------------------------------------------------------- /src/net/EpollTaskScheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/EpollTaskScheduler.cpp -------------------------------------------------------------------------------- /src/net/EpollTaskScheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/EpollTaskScheduler.h -------------------------------------------------------------------------------- /src/net/EventLoop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/EventLoop.cpp -------------------------------------------------------------------------------- /src/net/EventLoop.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/EventLoop.h -------------------------------------------------------------------------------- /src/net/Logger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Logger.cpp -------------------------------------------------------------------------------- /src/net/Logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Logger.h -------------------------------------------------------------------------------- /src/net/MemoryManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/MemoryManager.cpp -------------------------------------------------------------------------------- /src/net/MemoryManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/MemoryManager.h -------------------------------------------------------------------------------- /src/net/NetInterface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/NetInterface.cpp -------------------------------------------------------------------------------- /src/net/NetInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/NetInterface.h -------------------------------------------------------------------------------- /src/net/Pipe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Pipe.cpp -------------------------------------------------------------------------------- /src/net/Pipe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Pipe.h -------------------------------------------------------------------------------- /src/net/RingBuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/RingBuffer.h -------------------------------------------------------------------------------- /src/net/SelectTaskScheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/SelectTaskScheduler.cpp -------------------------------------------------------------------------------- /src/net/SelectTaskScheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/SelectTaskScheduler.h -------------------------------------------------------------------------------- /src/net/Socket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Socket.h -------------------------------------------------------------------------------- /src/net/SocketUtil.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/SocketUtil.cpp -------------------------------------------------------------------------------- /src/net/SocketUtil.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/SocketUtil.h -------------------------------------------------------------------------------- /src/net/TaskScheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TaskScheduler.cpp -------------------------------------------------------------------------------- /src/net/TaskScheduler.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TaskScheduler.h -------------------------------------------------------------------------------- /src/net/TcpConnection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpConnection.cpp -------------------------------------------------------------------------------- /src/net/TcpConnection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpConnection.h -------------------------------------------------------------------------------- /src/net/TcpServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpServer.cpp -------------------------------------------------------------------------------- /src/net/TcpServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpServer.h -------------------------------------------------------------------------------- /src/net/TcpSocket.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpSocket.cpp -------------------------------------------------------------------------------- /src/net/TcpSocket.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/TcpSocket.h -------------------------------------------------------------------------------- /src/net/Timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Timer.cpp -------------------------------------------------------------------------------- /src/net/Timer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Timer.h -------------------------------------------------------------------------------- /src/net/Timestamp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Timestamp.cpp -------------------------------------------------------------------------------- /src/net/Timestamp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/Timestamp.h -------------------------------------------------------------------------------- /src/net/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/net/log.h -------------------------------------------------------------------------------- /src/xop/AACSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/AACSource.cpp -------------------------------------------------------------------------------- /src/xop/AACSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/AACSource.h -------------------------------------------------------------------------------- /src/xop/DigestAuthentication.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/DigestAuthentication.cpp -------------------------------------------------------------------------------- /src/xop/DigestAuthentication.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/DigestAuthentication.h -------------------------------------------------------------------------------- /src/xop/G711ASource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/G711ASource.cpp -------------------------------------------------------------------------------- /src/xop/G711ASource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/G711ASource.h -------------------------------------------------------------------------------- /src/xop/H264Parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H264Parser.cpp -------------------------------------------------------------------------------- /src/xop/H264Parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H264Parser.h -------------------------------------------------------------------------------- /src/xop/H264Source.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H264Source.cpp -------------------------------------------------------------------------------- /src/xop/H264Source.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H264Source.h -------------------------------------------------------------------------------- /src/xop/H265Source.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H265Source.cpp -------------------------------------------------------------------------------- /src/xop/H265Source.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/H265Source.h -------------------------------------------------------------------------------- /src/xop/MediaSession.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/MediaSession.cpp -------------------------------------------------------------------------------- /src/xop/MediaSession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/MediaSession.h -------------------------------------------------------------------------------- /src/xop/MediaSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/MediaSource.h -------------------------------------------------------------------------------- /src/xop/RtpConnection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtpConnection.cpp -------------------------------------------------------------------------------- /src/xop/RtpConnection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtpConnection.h -------------------------------------------------------------------------------- /src/xop/RtspConnection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspConnection.cpp -------------------------------------------------------------------------------- /src/xop/RtspConnection.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspConnection.h -------------------------------------------------------------------------------- /src/xop/RtspMessage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspMessage.cpp -------------------------------------------------------------------------------- /src/xop/RtspMessage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspMessage.h -------------------------------------------------------------------------------- /src/xop/RtspPusher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspPusher.cpp -------------------------------------------------------------------------------- /src/xop/RtspPusher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspPusher.h -------------------------------------------------------------------------------- /src/xop/RtspServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspServer.cpp -------------------------------------------------------------------------------- /src/xop/RtspServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/RtspServer.h -------------------------------------------------------------------------------- /src/xop/SenderReport.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/SenderReport.cpp -------------------------------------------------------------------------------- /src/xop/SenderReport.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/SenderReport.h -------------------------------------------------------------------------------- /src/xop/VP8Source.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/VP8Source.cpp -------------------------------------------------------------------------------- /src/xop/VP8Source.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/VP8Source.h -------------------------------------------------------------------------------- /src/xop/media.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/media.h -------------------------------------------------------------------------------- /src/xop/rtp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/rtp.h -------------------------------------------------------------------------------- /src/xop/rtsp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/src/xop/rtsp.h -------------------------------------------------------------------------------- /test-2ch-44100hz.aac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/test-2ch-44100hz.aac -------------------------------------------------------------------------------- /test.264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatalfeel/rtsp_server/HEAD/test.264 --------------------------------------------------------------------------------