OSSRS-AI
c0fc8cb093
AI: Improve converage for app rtc module.
2025-09-27 09:40:57 -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
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
Winlin
b2a827f8cf
Refine code and add tests for #4289 . v7.0.45 ( #4412 )
...
Use AI to understand, add comments, add utests, refactor code for PR
#4289
2025-07-04 17:26:12 -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
chundonglinlin
02653ce2aa
API: Support server/pid/service label for exporter and api. ( #3385 )
...
* Exporter: Support server/pid/service.(#3378 )
* API: Support return server/pid/service.(#3378 )
* Use 8-length service id.
* Update release v5.0.135 v6.0.16
Co-authored-by: winlin <winlin@vip.126.com>
Co-authored-by: Haibo Chen <495810242@qq.com>
2023-01-18 07:25:44 +08:00
chundonglinlin
39c2b9c497
H265: Support demux vps/pps info. v6.0.15 ( #3379 )
...
* H265: Support parse vps/pps info for SRT and GB.
* H265: Update referenced doc.
* UTest: add hevc vps/sps/pps utest.
* Update release to v6.0.15
Co-authored-by: Winlin <winlin@vip.126.com>
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: Haibo Chen <495810242@qq.com>
2023-01-17 18:04:53 +08:00
winlin
c46ef81ff2
SRS5: Update license date to 2023. v5.0.123
...
PICK 72f8ed4916
2023-01-01 08:56:20 +08:00
chundonglinlin
a0803b556b
H265: Demux sps for log print and statistic streams.( #3271 ) ( #3286 )
...
* BitBuffer: add method to implement bit read operation.
* Codec: demux hevc sps for profile level resolution.
* Statistic: refine hevc profile level resolution.
* Kernel: return error code for demux hevc.
* Kernel: check bitstream length for hevc sps.
* UTest: add BitBuffer read bits utest.
* Kernel: refine print log and utest.
* Kernel: add comment for hevc sps.
Co-authored-by: winlin <winlin@vip.126.com>
2022-12-04 22:46:14 +08:00
winlin
e86e0c8999
Disable CLS and APM by default. v5.0.101
2022-12-03 18:35:41 +08:00
chundonglinlin
981cab40d3
API: support metrics for prometheus.( #2899 ) ( #3189 )
...
* API: support metrics for prometheus.
* Metrics: optimize metrics statistics info.
* Refine: remove redundant code.
* Refine: fix metrics srs_streams param.
* Metrics: add major param.
* Metrics: refine params and metric comments.
* For #2899 : API: Support exporter for Prometheus. v5.0.67
Co-authored-by: winlin <winlin@vip.126.com>
2022-09-27 15:39:26 +08:00
winlin
6a108fab6d
Fix #2837 : Callback: Support stream_url and stream_id. v5.0.55
2022-08-31 08:00:05 +08:00
winlin
2c259bd95b
Refactor: Extract SrsNetworkKbps from SrsKbps. v5.0.53
2022-08-30 13:41:27 +08:00
winlin
bc569d91a0
STAT: Ignore stat for API, only for HTTP streaming clients.
2022-08-29 07:54:48 +08:00
winlin
2944fe430f
STAT: Only stat media streaming clients.
2022-08-27 20:39:09 +08:00
winlin
95cd0e84eb
Log: Support write log to tencentcloud CLS. v5.0.44
2022-08-24 15:51:23 +08:00
winlin
3da0b57121
Merge 4.0release.
2022-08-24 15:27:56 +08:00
winlin
9923c749d4
STAT: Support config server_id and generate one if empty. v4.0.257
2022-08-24 15:06:43 +08:00
winlin
8e6d207e56
For #2136 : API: Cleanup no active streams for statistics. v4.0.256
2022-08-24 12:47:16 +08:00
winlin
41155b7789
STAT: Add kbps for client.
2022-08-24 12:42:21 +08:00
winlin
e9d6601f7d
For #2136 : API: Cleanup no active streams for statistics. v5.0.42
2022-08-19 19:45:19 +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
a830289d97
Squash: Merge SRS4.0
2021-09-07 08:20:43 +08:00
Huachao Mao
53cb333713
Support pagination for stream api ( #2572 )
2021-09-06 10:10:53 +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
3cd22b6e6e
Use SPDX-License-Identifier: MIT. 4.0.124
2021-05-31 12:59:21 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +08:00
winlin
cd45750c9d
RTC: Eliminate unused stat API
2021-05-14 08:56:41 +08:00
winlin
f711eb79ed
SquashSRS4: Refine stat id. Fix SRT build bug
2021-05-14 08:26:07 +08:00
winlin
06f7d7d11b
Refine id and vid for statistic. 4.0.108
2021-05-14 08:21:16 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
d01e603b25
Happy 2021
2021-04-16 09:25:55 +08:00
winlin
1c41f5d796
Merge SRS3, change id of stat to string
2021-01-07 17:04:11 +08:00
winlin
fb7c051833
Change id from int to string for the statistics. 3.0.157
2021-01-07 16:47:49 +08:00
winlin
4ba66b388b
For #1657 : Refine TCP connections arch
2020-11-05 11:47:24 +08:00
winlin
0a82719bd3
Refine connection structure
2020-11-04 18:15:43 +08:00
winlin
88826aae8f
Rename SrsConnection to SrsTcpConnection
2020-09-11 16:59:22 +08:00
winlin
6624b8acca
Log: Use object as context id for complex context
2020-07-05 23:26:55 +08:00
winlin
8a0c2e01f8
Log: Change cid from int to string
2020-06-18 11:45:43 +08:00
winlin
01f05f920f
RTC: Remove sendmmsg
2020-05-21 16:52:25 +08:00
winlin
f03bf601e4
RTC: Directly send without sendmmsg
2020-05-21 16:52:24 +08:00
winlin
4f6b24ea12
RTC: Remove GSO for player, no premature optimization
2020-05-21 16:48:32 +08:00
winlin
e4eb501c57
Fix the perf stat bytes bug
2020-04-17 16:36:56 +08:00
winlin
14e3ec2fe8
For #307 , drop frame when VBR too high
2020-04-17 12:30:53 +08:00