28 Commits

Author SHA1 Message Date
winlin
1d9105396d Update guideline for AI about sanitizer. 2025-10-26 16:28:02 -04:00
OSSRS-AI
2fb216e86d AI: Refine utest file rules. 2025-10-23 09:44:28 -04:00
winlin
2893f43327 Compress guideline for AI. 2025-10-23 07:30:53 -04:00
OSSRS-AI
2810d32d60 AI: Only support AAC/MP3/Opus audio codec. v7.0.102 (#4516) 2025-10-22 22:08:25 -04:00
winlin
0e28422d12 Update guideline for AI. 2025-10-22 11:46:11 -04:00
Winlin
845e0287c0 Forward: Reject RTMPS destinations with clear error message. v7.0.100 (#4537)
SRS forward feature only supports plain RTMP protocol, not RTMPS (RTMP over SSL/TLS). This is by design - SRS SSL is server-side only (accepting connections), not client-side (initiating connections). The forward feature uses SrsSimpleRtmpClient which has no SSL handshake or encryption capabilities for outgoing connections.

Changes:
1. Add RTMPS URL detection in SrsForwarder::initialize()
2. Return ERROR_NOT_SUPPORTED error when RTMPS destination is detected
3. Add unit test to verify RTMPS URLs are properly rejected
4. Add FAQ section to .augment-guidelines explaining the limitation

For users who need to forward to RTMPS destinations (e.g., AWS IVS), the recommended solution is to use FFmpeg with SRS HTTP Hooks:
- on_publish event: Automatically start FFmpeg to relay stream to RTMPS destination
- on_unpublish event: Automatically stop FFmpeg process when stream ends

This provides a fully automated, production-ready RTMPS relay solution without adding complexity to SRS core.

Related: #4536

---------

Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-10-20 08:03:07 -04:00
winlin
bf7e93140b Refine access specifier for utest. 2025-10-13 22:26:38 -04:00
OSSRS-AI
af655c53c5 AI: Fix blackbox test bug for DVR. 2025-10-10 17:48:48 -04:00
OSSRS-AI
8ed07e37b4 AI: Add utest to cover edge module. 2025-10-07 21:05:18 -04:00
OSSRS-AI
3948f0d4fe AI: Add utest to cover app http module. 2025-10-05 21:55:49 -04:00
OSSRS-AI
702a58df6a AI: Improve coverage for app rtmp module. 2025-10-03 10:10:57 -04:00
OSSRS-AI
c0fc8cb093 AI: Improve converage for app rtc module. 2025-09-27 09:40:57 -04:00
Winlin
3a29e5c550 AI: Fix naming issue for protocol module. v7.0.83 (#4482)
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-09 21:06:45 -04:00
Winlin
8f87d4092b AI: Fix naming problem in kernel module. v7.0.82 (#4479)
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-07 21:09:08 -04:00
Winlin
7c1e87ef5c AI: Add more utests for kernel module. v7.0.81 (#4478)
This PR significantly enhances the kernel module by adding comprehensive
unit test coverage and improving interface design for core buffer and
load balancer components.

- **ISrsDecoder**: New interface for decoding/deserialization operations
- **ISrsLbRoundRobin**: Extracted interface from concrete
SrsLbRoundRobin class for better abstraction
- **Enhanced Documentation**: Added comprehensive inline documentation
for ISrsEncoder, ISrsCodec, SrsBuffer, and SrsBitBuffer classes

---------

Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-06 12:39:46 -04:00
winlin
52475785c3 AI: Update guideline for new origin cluster for augment. 2025-08-12 10:35:04 -04:00
winlin
c921c5a52f AI: Update WebRTC arch about TURN for Augment. 2025-08-07 21:54:51 -04:00
winlin
c86db48e06 AI: Update guideline about error handling for Augment. 2025-07-18 07:59:44 -04:00
winlin
0631715a65 AI: Update time guideline for augment. 2025-07-12 21:36:47 -04:00
winlin
f0b2d6d415 AI: Update guideline to use C++98 for augment. 2025-07-11 10:27:57 -04:00
winlin
2a3ec6dea4 AI: Update SrsBuffer guide for Augment. 2025-07-08 08:33:13 -04:00
winlin
a19551540f AI: Update enhanced-rtmp spec for augment code. 2025-07-04 08:39:23 -04:00
winlin
d73ac3670a AI: Update the docs guideline for augment code. 2025-07-02 20:53:19 -04:00
winlin
89f343af15 AI: Update the pr diff guideline for augment code. 2025-07-02 08:16:52 -04:00
winlin
97e2b64939 AI: Update utest private access and smart pointers for augment code. 2025-07-01 10:39:32 -04:00
winlin
1173560b55 AI: Add run utest in guideline for augment code. 2025-06-30 08:10:21 -04:00
winlin
e84074094b AI: Update threading model for augment code. 2025-06-28 09:13:50 -04:00
Winlin
40df358e50 AI: Add guide for Augment. (#4404) 2025-06-27 07:23:45 -04:00