OSSRS-AI
75d35b7817
AI: Ignore some code that is no need to cover.
2025-10-28 23:10:31 -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
OSSRS-AI
702a58df6a
AI: Improve coverage for app rtmp module.
2025-10-03 10:10:57 -04:00
winlin
49594b1846
Update stable version to SRS 6.0
2025-09-15 11:23:02 -04:00
Winlin
d4d1d5d8b5
AI: Move some app files to kernel. v7.0.86 ( #4486 )
...
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-13 10:26:47 -04:00
Winlin
2384f3fb06
AI: Fix naming problem for app module. v7.0.85 ( #4485 )
...
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-09-12 19:44:43 -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
1fa2cba7c0
Organize utility functions to kernel. v7.0.65 ( #4455 )
2025-08-27 21:35:58 -04:00
Winlin
1b6f97bd2d
Refine source lock to fix race condition in source managers. v7.0.61 ( #4449 )
...
This PR fixes a critical race condition in SRS source managers where
multiple coroutines could create duplicate sources for the same stream.
- **Atomic source creation**: Source lookup, creation, and pool
insertion now happen atomically within lock scope
- **Consistent interface**: Standardize on `ISrsRequest*` interface
throughout codebase
- **Handler simplification**: Remove `ISrsLiveSourceHandler*` parameter,
obtain from global server instance
---------
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-08-23 07:36:41 -06:00
Winlin
6e1134fe9b
Use clang format. v7.0.52 ( #4433 )
...
---------
Co-authored-by: ChenGH <chengh_math@126.com>
2025-08-11 23:19:19 -04:00
Haibo Chen(陈海博)
133866a944
Transcode: Bugfix: Fix loop transcoding with host. #3516 . v6.0.168 v7.0.41 ( #4325 )
...
#### What issue has been resolved?
for issue: https://github.com/ossrs/srs/issues/3516
https://github.com/ossrs/srs/issues/4055
https://github.com/ossrs/srs/pull/3618
#### What is the root cause of the problem?
The issue arises from a mismatch between the `input` and `output`
formats within the
[`SrsEncoder::initialize_ffmpeg`](https://github.com/ossrs/srs/pull/4325/files#diff-a3dd7c498fc26d36def2e8c2c3b7edfe1bf78f0620b1a838aefa70ba119cad03L241-L254 )
function.
For example:
Input: `rtmp://127.0.0.1:1935/live?vhost=__defaultVhost__/livestream_ff`
Output:
`rtmp://127.0.0.1:1935/live/livestream_ff?vhost=__defaultVhost__`
This may result in the failure of the [code
segment](https://github.com/ossrs/srs/pull/4325/files#diff-a3dd7c498fc26d36def2e8c2c3b7edfe1bf78f0620b1a838aefa70ba119cad03L292-L298 )
responsible for determining whether to loop.
#### What is the approach to solving this issue?
It simply involves modifying the order of `stream` and `vhost`.
#### How was the issue introduced?
The commit introducing this bug is:
7d47017a00
The order of [parameters in the configuration
file](7d47017a00 (diff-428de168925d659dae72bb49273c3b048ed2800906c6848560badae854250126L26-R26) )
has been modified to address the `ingest` issue.
#### Outstanding issues
Please note that this PR does not entirely resolve the issue; for
example, modifying the `output` format in configuration still results in
exceptions. To comprehensively address this problem, extensive code
modifications would be required.
However, strictly adhering to the configuration file format can
effectively prevent this issue.
---------
Co-authored-by: Jacob Su <suzp1984@gmail.com>
Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
2025-06-04 10:11:58 -04:00
ChenGH
13597d1b7f
update copyright to 2025. v5.0.218 v6.0.159 v7.0.21 ( #4271 )
...
update copyright to 2025
---------
Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: winlin <winlinvip@gmail.com>
2025-01-14 17:35:18 +08:00
winlin
2a2da2253f
Switch to 2013-2024. v6.0.109
2024-01-01 10:51:24 +08:00
winlin
29eff1a242
Refine LICENSE.
2023-10-23 14:33:19 +08:00
winlin
c46ef81ff2
SRS5: Update license date to 2023. v5.0.123
...
PICK 72f8ed4916
2023-01-01 08:56:20 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
fa78cf3354
Prefix with srs_protocol in protocol directory.
2022-06-09 20:26:58 +08:00
winlin
d5c86dc5fa
Switch LICENSE from MIT to **MIT or MulanPSL-2.0**. v5.0.21
2022-01-13 18:40:22 +08:00
Winlin
c8a1e0f3da
Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8 ( #2464 )
...
* Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8
* Update README.md
* Update README.md
* Refine format for AUTHORS.md
2021-07-08 14:30:47 +08:00
winlin
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
c78595c1fa
For #1634 , refactor encoder output, support timestamp variables.
2020-03-11 19:19:17 +08:00
winlin
66b194cd63
For #1634 , refactor encoder process management.
2020-03-11 19:08:36 +08:00
winlin
2fa151726b
For #1592 , rename ff_log_dir.
2020-02-05 12:15:44 +08:00
winlin
d783a12f89
Happy 2020
2019-12-30 10:10:35 +08:00
winlin
a1398892d0
Refine const timeouts in time unit
2019-04-17 08:08:31 +08:00
winlin
6239dfa489
Apply time unit
2019-04-07 16:25:52 +08:00
winlin
b2d1d84634
Change to 2019
2019-01-01 21:37:28 +08:00
winlin
330100769f
Always enable SRS_TRANSCODE
2018-12-22 19:48:55 +08:00
winlin
ba4ef34d27
Merge 2.0release
2018-11-27 21:24:51 +08:00
Mirko Velic
70ad16ff6a
Add request stream param to encoder output format parameters. ( #1237 )
2018-10-08 07:01:49 +08:00
winlin
ca1395a807
Change date from 2017 to 2018
2018-01-07 10:58:53 +08:00
winlin
6eae93258a
For #913 , APP support complex error.
2018-01-01 19:39:57 +08:00
winlin
9db2a04c3b
For #913 , coroutine support complex error.
2017-06-11 18:44:20 +08:00
winlin
9ca36970aa
Fix #908 , use empty coroutine to avoid NULL pointer.
2017-06-04 19:13:56 +08:00
winlin
1bf99e8f3e
For #907 , Wrap ST, only use in service ST.
2017-05-30 09:05:02 +08:00
winlin
6993ac226f
For #906 , #902 , use coroutine for reusable2 thread
2017-05-29 20:49:29 +08:00
winlin
ea9a5f26d9
For #906 , #902 , use coroutine for reusable thread
2017-05-29 20:33:32 +08:00
winlin
b21f92f97a
For #906 , #902 , remove the thread start and stop event
2017-05-29 18:42:36 +08:00
HungMingWu
815d50f00a
Remove warning: C++11 requires a space between string literal and macro ( #874 )
...
On Ubuntu 17.04, the default gcc compiler version is 6.3.0.
It switch standard from c++98 to c++11.
So it would generate verbose warnings.
2017-05-06 14:05:22 +08:00
winlin
0a57a46016
Refine LICENSE
2017-03-25 21:29:29 +08:00
winlin
f32aab3d92
For #299 , refine code.
2017-03-25 17:21:39 +08:00
winlin
3fe338d1c5
for #742 , use ms for application clock tbn.
2017-01-17 12:25:30 +08:00
winlin
750f4413c8
merge srs2 for #536
2017-01-16 12:47:48 +08:00
winlin
142a9733b2
refine encoder code for #536 .
2017-01-16 12:42:25 +08:00
winlin
7ac932cfa0
update to 2013-2017
2016-12-16 11:57:25 +08:00
winlin
d0c74fa7cd
update 2015 to 2016
2015-12-23 11:35:40 +08:00
winlin
01c46bdbfd
rename org simle-rtmp-server to ossrs
2015-11-11 10:45:45 +08:00
winlin
1ffd5fd455
rename org simple-rtmp-server to ossrs
2015-11-11 10:37:50 +08:00