Commit Graph

8852 Commits

Author SHA1 Message Date
winlin
5cf615f1d4 Update README for v6.0-b2 2025-10-16 10:21:36 -04:00
OSSRS-AI
ed120ba88b AI: Add utest to manually verify rtc play workflow 2025-10-16 10:16:31 -04:00
Haibo Chen(陈海博)
abaffdd4b9 fix crash issue caused by reload configuration file. v7.0.98 (#4530)
fix crash issue caused by reload configuration file, which occurs when a
vhost is added/removed in the new configuration.

Introduced by https://github.com/ossrs/srs/pull/4458

see https://github.com/ossrs/srs/issues/4529
2025-10-16 07:30:16 -04:00
Jack Lau
6f526284a3 RTC2RTMP: fix illegal memory access. v7.0.97 (#4520)
Regression since 20f6cd595c

The early code might meet bridge is empty when
there is no bridge(e.x. rtc to rtc). Then srs_freep will free the brige.

Remove this code that seems redundant.

---------

Co-authored-by: Jacob Su <suzp1984@gmail.com>
Signed-off-by: Jack Lau <jacklau1222@qq.com>
2025-10-15 10:16:03 -04:00
OSSRS-AI
44c3dab79e AI: Add utest to cover heatbeat. 2025-10-15 09:59:45 -04:00
OSSRS-AI
223202f121 AI: Add utest to cover version query 2025-10-15 09:11:04 -04:00
OSSRS-AI
5d01393307 AI: Add utest to cover process module 2025-10-15 07:52:46 -04:00
OSSRS-AI
315ae2cd3a AI: Add utest to cover encoder module. 2025-10-14 22:31:16 -04:00
winlin
1bc18509a2 Disable sanitizer by default to fix memory leak. #4364 v7.0.96 2025-10-14 20:32:37 -04:00
winlin
bf7e93140b Refine access specifier for utest. 2025-10-13 22:26:38 -04:00
winlin
31e191e9e3 Init ST after daemon started. 2025-10-13 10:00:51 -04:00
winlin
123df8a75a Make RTMP listen optional. 2025-10-13 09:39:11 -04:00
winlin
1606c3d713 Fix utest failed. 2025-10-13 09:23:57 -04:00
OSSRS-AI
6846f8e893 AI: Add utest to cover recv thread module 2025-10-12 23:10:38 -04:00
OSSRS-AI
a3f8d13c0a AI: Fix utest fail bug. 2025-10-11 23:50:48 -04:00
OSSRS-AI
ef2bb34569 AI: Add utest to cover http module 2025-10-11 22:13:00 -04:00
OSSRS-AI
e8ac08dfa2 AI: Add utest to cover caster flv module. 2025-10-11 12:39:22 -04:00
OSSRS-AI
4004ddb5c0 AI: Add test to cover app caster module 2025-10-11 10:18:52 -04:00
OSSRS-AI
b239975458 AI: Add utest to cover encoder module 2025-10-11 08:22:34 -04:00
OSSRS-AI
c6c6f38ed7 AI: Add utest to cover the rtc server. 2025-10-10 23:52:26 -04:00
OSSRS-AI
604f9450fc AI: Add utest to cover srt module. 2025-10-10 22:48:09 -04:00
OSSRS-AI
af655c53c5 AI: Fix blackbox test bug for DVR. 2025-10-10 17:48:48 -04:00
OSSRS-AI
ae2ba44df4 AI: Add utest to cover hooks module. 2025-10-10 11:43:24 -04:00
OSSRS-AI
afeea8aed5 AI: Add utest to cover listener module. 2025-10-10 09:50:19 -04:00
OSSRS-AI
de3d5bd1f5 AI: Add utest to cover dash module. 2025-10-09 22:34:26 -04:00
OSSRS-AI
646b833757 AI: Add utest to cover the rtc network module. 2025-10-09 09:20:00 -04:00
OSSRS-AI
3919e86cc0 AI: Add utest to cover gb module. 2025-10-08 22:48:13 -04:00
OSSRS-AI
f0d713e574 AI: Add utest to cover dvr module. 2025-10-08 09:56:17 -04:00
OSSRS-AI
8ed07e37b4 AI: Add utest to cover edge module. 2025-10-07 21:05:18 -04:00
OSSRS-AI
94dde8e370 AI: Add utest to cover rtsp module. 2025-10-07 10:10:58 -04:00
OSSRS-AI
809d77b662 AI: Add utest to cover srt module. 2025-10-06 23:35:26 -04:00
OSSRS-AI
1509fde2da AI: Add utest to cover api module. 2025-10-06 11:42:50 -04:00
OSSRS-AI
3948f0d4fe AI: Add utest to cover app http module. 2025-10-05 21:55:49 -04:00
OSSRS-AI
b5664747ac AI: Add utest to cover app rtmp module. 2025-10-04 22:21:45 -04:00
OSSRS-AI
cdfe82357e AI: Add utest to cover app server module. 2025-10-04 09:06:03 -04:00
winlin
71302c4a77 SRT: Default to request for VLC. #4515 2025-10-03 15:27:03 -04:00
OSSRS-AI
702a58df6a AI: Improve coverage for app rtmp module. 2025-10-03 10:10:57 -04:00
OSSRS-AI
fc6a851d5f SRT: Support configurable default_streamid option. v6.0.180 v7.0.95 (#4515) 2025-10-01 22:05:15 -04:00
OSSRS-AI
3f876d324e AI: Improve the coverage for app hls module. 2025-10-01 21:09:29 -04:00
winlin
df3c776580 AI: Improve converage for app rtc module. 2025-09-29 11:17:07 -04:00
Winlin
c7821b4770 For Edge, only support RTMP or HTTP-FLV. v7.0.94 (#4513) 2025-09-27 19:35:34 -04:00
OSSRS-AI
c0fc8cb093 AI: Improve converage for app rtc module. 2025-09-27 09:40:57 -04:00
Haibo Chen(陈海博)
ea14caeee5 rename HEVC-related mux functions to enhance consistency and readability. (#4506) 2025-09-22 07:48:40 -04:00
Haibo Chen(陈海博)
2dfa54e21b improve blackbox test for rtsp. v7.0.93 (#4505)
Co-authored-by: winlin <winlinvip@gmail.com>
2025-09-21 23:36:49 -04:00
OSSRS-AI
a1dd73545a AI: Improve coverage of app module. 2025-09-21 15:39:53 -04:00
winlin
10c0b66c0f Fix WHIP with transcoding bug. v7.0.92 (#4495) 2025-09-21 08:58:22 -04:00
OSSRS-AI
ca261fe955 AI: Improve coverage for app module. 2025-09-20 21:57:14 -04:00
Jacob Su
f4c54ab9a5 fix rtsp compiling warning. v7.0.91 (#4504)
## steps to produce:

1. ./configure --rtsp=off
2. make

---------

Co-authored-by: winlin <winlinvip@gmail.com>
2025-09-20 11:38:07 -04:00
Winlin
20f6cd595c AI: Refine RTMP/SRT/RTC bridge. v7.0.90 (#4503)
This PR refactors the stream bridge architecture in SRS to improve code
organization, type safety, and maintainability by replacing the generic
ISrsStreamBridge interface with protocol-specific bridge classes and
target interfaces.

1. New Target Interface Architecture:

- Introduces  ISrsFrameTarget for AV frame consumers (RTMP sources)
- Introduces  ISrsRtpTarget for RTP packet consumers (RTC sources)
- Introduces ISrsSrtTarget for SRT packet consumers (SRT sources)

2. Protocol-Specific Bridge Classes:

- SrsRtmpBridge: Converts RTMP frames to RTC/RTSP protocols
-  SrsSrtBridge: Converts SRT packets to RTMP/RTC protocols
-  SrsRtcBridge: Converts RTC packets to RTMP protocol

3. Simplified Bridge Management:

- Removes the generic SrsCompositeBridge chain pattern
- Each source type now uses its appropriate bridge type directly

With this improvement, you are able to implement very complex bridge and
protocol converting, for example, you can bridge RTMP to RTC with opus
audio when you support enhanced RTMP with opus.

Another plan is to support bridging RTC to RTSP, directly without
converting RTP to media frame packet, but directly deliver RTP packet
from RTC source to RTSP source.

---------

Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-19 21:50:28 -04:00
Winlin
e999de09ea AI: Add utests to cover app rtc module. (#4498)
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-18 11:30:28 -04:00