├── .github └── workflows │ └── cmake.yml ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── capture.png ├── src ├── CMakeLists.txt ├── DummySink.cpp ├── DummySink.cpp.bak ├── DummySink.h ├── DummySink.h.bak ├── EventLoop.cpp.bak ├── EventLoop.h.bak ├── FFMpeg.cpp ├── FFMpeg.h ├── FFMpegDecoder.cpp ├── FFMpegDecoder.h ├── FFMpegEncoder.cpp ├── FFMpegEncoder.h ├── Frame.h ├── H264Decoder.cpp ├── H264Decoder.cpp.bak ├── H264Decoder.h ├── H264Decoder.h.bak ├── H264ReadCameraEncoder.cpp ├── H264ReadCameraEncoder.h ├── H264ReadScreenEncoder.cpp ├── H264ReadScreenEncoder.h ├── MediaBasicUsageEnvironment.cpp ├── MediaBasicUsageEnvironment.h ├── MediaH264MediaSink.cpp ├── MediaH264MediaSink.h ├── MediaH264VideoRTPSink.cpp ├── MediaH264VideoRTPSink.h ├── MediaRTSPClient.cpp ├── MediaRTSPClient.h ├── MediaRTSPServer.cpp ├── MediaRTSPServer.h ├── MediaRTSPSession.cpp ├── MediaRTSPSession.h ├── MediaVideoFragmenter.cpp ├── MediaVideoFragmenter.h ├── MediaVideoRTPSink.cpp ├── MediaVideoRTPSink.h ├── MediaVideoServerMediaSubsession.cpp ├── MediaVideoServerMediaSubsession.h ├── MediaVideoStreamSource.cpp ├── MediaVideoStreamSource.h ├── StreamClientState.cpp ├── StreamClientState.h ├── YUV420P_Player.cpp ├── YUV420P_Player.h ├── bs.h ├── h264_avcc.cpp ├── h264_avcc.h ├── h264_sei.cpp ├── h264_sei.h ├── h264_stream.cpp ├── h264_stream.h ├── log_utils.c ├── log_utils.h └── rtspclient_with_opengl.cpp ├── test.264 └── test └── testDecoder.cpp /.github/workflows/cmake.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/.github/workflows/cmake.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | linux 3 | build 4 | .vs 5 | CMakeSettings.json 6 | x64 7 | win32 8 | .vscode/*.log -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/README.md -------------------------------------------------------------------------------- /capture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/capture.png -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/DummySink.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/DummySink.cpp -------------------------------------------------------------------------------- /src/DummySink.cpp.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/DummySink.cpp.bak -------------------------------------------------------------------------------- /src/DummySink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/DummySink.h -------------------------------------------------------------------------------- /src/DummySink.h.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/DummySink.h.bak -------------------------------------------------------------------------------- /src/EventLoop.cpp.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/EventLoop.cpp.bak -------------------------------------------------------------------------------- /src/EventLoop.h.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/EventLoop.h.bak -------------------------------------------------------------------------------- /src/FFMpeg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpeg.cpp -------------------------------------------------------------------------------- /src/FFMpeg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpeg.h -------------------------------------------------------------------------------- /src/FFMpegDecoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpegDecoder.cpp -------------------------------------------------------------------------------- /src/FFMpegDecoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpegDecoder.h -------------------------------------------------------------------------------- /src/FFMpegEncoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpegEncoder.cpp -------------------------------------------------------------------------------- /src/FFMpegEncoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/FFMpegEncoder.h -------------------------------------------------------------------------------- /src/Frame.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/Frame.h -------------------------------------------------------------------------------- /src/H264Decoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264Decoder.cpp -------------------------------------------------------------------------------- /src/H264Decoder.cpp.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264Decoder.cpp.bak -------------------------------------------------------------------------------- /src/H264Decoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264Decoder.h -------------------------------------------------------------------------------- /src/H264Decoder.h.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264Decoder.h.bak -------------------------------------------------------------------------------- /src/H264ReadCameraEncoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264ReadCameraEncoder.cpp -------------------------------------------------------------------------------- /src/H264ReadCameraEncoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264ReadCameraEncoder.h -------------------------------------------------------------------------------- /src/H264ReadScreenEncoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264ReadScreenEncoder.cpp -------------------------------------------------------------------------------- /src/H264ReadScreenEncoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/H264ReadScreenEncoder.h -------------------------------------------------------------------------------- /src/MediaBasicUsageEnvironment.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaBasicUsageEnvironment.cpp -------------------------------------------------------------------------------- /src/MediaBasicUsageEnvironment.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaBasicUsageEnvironment.h -------------------------------------------------------------------------------- /src/MediaH264MediaSink.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaH264MediaSink.cpp -------------------------------------------------------------------------------- /src/MediaH264MediaSink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaH264MediaSink.h -------------------------------------------------------------------------------- /src/MediaH264VideoRTPSink.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaH264VideoRTPSink.cpp -------------------------------------------------------------------------------- /src/MediaH264VideoRTPSink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaH264VideoRTPSink.h -------------------------------------------------------------------------------- /src/MediaRTSPClient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPClient.cpp -------------------------------------------------------------------------------- /src/MediaRTSPClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPClient.h -------------------------------------------------------------------------------- /src/MediaRTSPServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPServer.cpp -------------------------------------------------------------------------------- /src/MediaRTSPServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPServer.h -------------------------------------------------------------------------------- /src/MediaRTSPSession.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPSession.cpp -------------------------------------------------------------------------------- /src/MediaRTSPSession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaRTSPSession.h -------------------------------------------------------------------------------- /src/MediaVideoFragmenter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoFragmenter.cpp -------------------------------------------------------------------------------- /src/MediaVideoFragmenter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoFragmenter.h -------------------------------------------------------------------------------- /src/MediaVideoRTPSink.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoRTPSink.cpp -------------------------------------------------------------------------------- /src/MediaVideoRTPSink.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoRTPSink.h -------------------------------------------------------------------------------- /src/MediaVideoServerMediaSubsession.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoServerMediaSubsession.cpp -------------------------------------------------------------------------------- /src/MediaVideoServerMediaSubsession.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoServerMediaSubsession.h -------------------------------------------------------------------------------- /src/MediaVideoStreamSource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoStreamSource.cpp -------------------------------------------------------------------------------- /src/MediaVideoStreamSource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/MediaVideoStreamSource.h -------------------------------------------------------------------------------- /src/StreamClientState.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/StreamClientState.cpp -------------------------------------------------------------------------------- /src/StreamClientState.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/StreamClientState.h -------------------------------------------------------------------------------- /src/YUV420P_Player.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/YUV420P_Player.cpp -------------------------------------------------------------------------------- /src/YUV420P_Player.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/YUV420P_Player.h -------------------------------------------------------------------------------- /src/bs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/bs.h -------------------------------------------------------------------------------- /src/h264_avcc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_avcc.cpp -------------------------------------------------------------------------------- /src/h264_avcc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_avcc.h -------------------------------------------------------------------------------- /src/h264_sei.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_sei.cpp -------------------------------------------------------------------------------- /src/h264_sei.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_sei.h -------------------------------------------------------------------------------- /src/h264_stream.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_stream.cpp -------------------------------------------------------------------------------- /src/h264_stream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/h264_stream.h -------------------------------------------------------------------------------- /src/log_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/log_utils.c -------------------------------------------------------------------------------- /src/log_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/log_utils.h -------------------------------------------------------------------------------- /src/rtspclient_with_opengl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/src/rtspclient_with_opengl.cpp -------------------------------------------------------------------------------- /test.264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/test.264 -------------------------------------------------------------------------------- /test/testDecoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/melchi45/rtspclient_with_opengl/HEAD/test/testDecoder.cpp --------------------------------------------------------------------------------