├── .gitignore ├── 3rdparty ├── md5.c └── md5.h ├── CMakeLists.txt ├── LICENSE ├── README.md ├── README_CN.md ├── example ├── device │ ├── device_audio.c │ ├── device_audio.h │ ├── device_video.c │ └── device_video.h ├── rtsp_server_file.c ├── rtsp_server_live.c ├── rtsp_server_live_av.c └── rtsp_server_live_device.c ├── mp4path ├── test.aac ├── test.h264 ├── test_1280x720_h264_aac.mp4 ├── test_h264_aac.mp4 ├── test_h264_pcma.mkv └── test_h265_aac.mp4 └── src ├── common.c ├── common.h ├── io_event ├── io_epoll.c ├── io_event.h └── io_select.c ├── media.c ├── media.h ├── mthread.c ├── mthread.h ├── rtp ├── aac_rtp.c ├── h264_rtp.c ├── h265_rtp.c ├── pcma_rtp.c └── rtp.h ├── rtsp_client_handle.c ├── rtsp_client_handle.h ├── rtsp_message.c ├── rtsp_message.h ├── rtsp_server_handle.c ├── rtsp_server_handle.h ├── session.c ├── session.h ├── socket_io.c └── socket_io.h /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | build 3 | -------------------------------------------------------------------------------- /3rdparty/md5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/3rdparty/md5.c -------------------------------------------------------------------------------- /3rdparty/md5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/3rdparty/md5.h -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/README_CN.md -------------------------------------------------------------------------------- /example/device/device_audio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/device/device_audio.c -------------------------------------------------------------------------------- /example/device/device_audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/device/device_audio.h -------------------------------------------------------------------------------- /example/device/device_video.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/device/device_video.c -------------------------------------------------------------------------------- /example/device/device_video.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/device/device_video.h -------------------------------------------------------------------------------- /example/rtsp_server_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/rtsp_server_file.c -------------------------------------------------------------------------------- /example/rtsp_server_live.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/rtsp_server_live.c -------------------------------------------------------------------------------- /example/rtsp_server_live_av.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/rtsp_server_live_av.c -------------------------------------------------------------------------------- /example/rtsp_server_live_device.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/example/rtsp_server_live_device.c -------------------------------------------------------------------------------- /mp4path/test.aac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test.aac -------------------------------------------------------------------------------- /mp4path/test.h264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test.h264 -------------------------------------------------------------------------------- /mp4path/test_1280x720_h264_aac.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test_1280x720_h264_aac.mp4 -------------------------------------------------------------------------------- /mp4path/test_h264_aac.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test_h264_aac.mp4 -------------------------------------------------------------------------------- /mp4path/test_h264_pcma.mkv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test_h264_pcma.mkv -------------------------------------------------------------------------------- /mp4path/test_h265_aac.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/mp4path/test_h265_aac.mp4 -------------------------------------------------------------------------------- /src/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/common.c -------------------------------------------------------------------------------- /src/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/common.h -------------------------------------------------------------------------------- /src/io_event/io_epoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/io_event/io_epoll.c -------------------------------------------------------------------------------- /src/io_event/io_event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/io_event/io_event.h -------------------------------------------------------------------------------- /src/io_event/io_select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/io_event/io_select.c -------------------------------------------------------------------------------- /src/media.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/media.c -------------------------------------------------------------------------------- /src/media.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/media.h -------------------------------------------------------------------------------- /src/mthread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/mthread.c -------------------------------------------------------------------------------- /src/mthread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/mthread.h -------------------------------------------------------------------------------- /src/rtp/aac_rtp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtp/aac_rtp.c -------------------------------------------------------------------------------- /src/rtp/h264_rtp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtp/h264_rtp.c -------------------------------------------------------------------------------- /src/rtp/h265_rtp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtp/h265_rtp.c -------------------------------------------------------------------------------- /src/rtp/pcma_rtp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtp/pcma_rtp.c -------------------------------------------------------------------------------- /src/rtp/rtp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtp/rtp.h -------------------------------------------------------------------------------- /src/rtsp_client_handle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_client_handle.c -------------------------------------------------------------------------------- /src/rtsp_client_handle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_client_handle.h -------------------------------------------------------------------------------- /src/rtsp_message.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_message.c -------------------------------------------------------------------------------- /src/rtsp_message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_message.h -------------------------------------------------------------------------------- /src/rtsp_server_handle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_server_handle.c -------------------------------------------------------------------------------- /src/rtsp_server_handle.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/rtsp_server_handle.h -------------------------------------------------------------------------------- /src/session.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/session.c -------------------------------------------------------------------------------- /src/session.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/session.h -------------------------------------------------------------------------------- /src/socket_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/socket_io.c -------------------------------------------------------------------------------- /src/socket_io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BreakingY/simple-rtsp-server/HEAD/src/socket_io.h --------------------------------------------------------------------------------