srs/trunk/src/protocol
Winlin 6ec97067de
AI: Remove cygwin64, always enable WebRTC, and enforce C++98 compatibility. v7.0.60 (#4447)
This PR makes WebRTC a core feature of SRS and enforces C++98
compatibility by:

1. Always Enable WebRTC Support
- Remove `--rtc=on|off` configuration option - WebRTC is now always
enabled
- Eliminate all `#ifdef SRS_RTC` conditional compilation blocks
- Include WebRTC-related modules (RTC, SRTP, DTLS) in all builds
- Update build scripts to always link WebRTC dependencies

2. Enforce C++98 Compatibility  
- Remove `--cxx11=on|off` and `--cxx14=on|off` configuration options
- Force `SRS_CXX11=NO` and `SRS_CXX14=NO` in build system
- Move these options to deprecated section with warnings
- Ensure codebase maintains C++98 standard compatibility

3. Remove Windows/Cygwin Support
- Remove all Windows and Cygwin64 conditional compilation blocks (#ifdef
_WIN32, #ifdef CYGWIN64)
- Delete Cygwin64 build configurations from build scripts (
auto/options.sh, auto/depends.sh, configure)
- Remove Cygwin64 assembly files and State Threads platform support (
md_cygwin64.S)
- Eliminate Windows-specific GitHub Actions workflows and CI/CD jobs
- Remove NSIS packaging files and Windows installer generation
- Delete Windows documentation and update feature lists to mark support
as removed in v7.0
- Simplify OS detection to only support Unix-like systems (Linux, macOS)

4. Code Cleanup
- Remove conditional WebRTC code blocks throughout the codebase
- Simplify build configuration by removing WebRTC-related conditionals
- Update constructor delegation patterns to be C++98 compatible
- Fix vector initialization to use C++98 syntax
- Eliminate Windows-specific implementations for file operations, time
handling, and networking
- Unified platform handling with consistent POSIX API usage

---------

Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-08-21 10:03:38 -06:00
..
srs_protocol_amf0.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_amf0.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_conn.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_conn.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_format.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_format.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_http_client.cpp RTMP: Support RTMPS server. v7.0.56 (#4443) 2025-08-19 07:39:36 -06:00
srs_protocol_http_client.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_http_conn.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_http_conn.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_http_stack.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_http_stack.hpp AI: Remove cygwin64, always enable WebRTC, and enforce C++98 compatibility. v7.0.60 (#4447) 2025-08-21 10:03:38 -06:00
srs_protocol_io.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_io.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_json.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_json.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_kbps.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_kbps.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_log.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_log.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_protobuf.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_protobuf.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_raw_avc.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_raw_avc.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtc_stun.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtc_stun.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_conn.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_conn.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_handshake.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_handshake.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_msg_array.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_msg_array.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtmp_stack.cpp AI: Remove cygwin64, always enable WebRTC, and enforce C++98 compatibility. v7.0.60 (#4447) 2025-08-21 10:03:38 -06:00
srs_protocol_rtmp_stack.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtp.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtp.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtsp_stack.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_rtsp_stack.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_srt.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_srt.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_st.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_st.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_stream.cpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_stream.hpp Use clang format. v7.0.52 (#4433) 2025-08-11 23:19:19 -04:00
srs_protocol_utility.cpp AI: Remove cygwin64, always enable WebRTC, and enforce C++98 compatibility. v7.0.60 (#4447) 2025-08-21 10:03:38 -06:00
srs_protocol_utility.hpp AI: Remove cygwin64, always enable WebRTC, and enforce C++98 compatibility. v7.0.60 (#4447) 2025-08-21 10:03:38 -06:00