Haibo Chen
6e6b80d837
Remove unreachable issues in code ( #3793 )
...
remove unreachable links by python scripts:
```
def is_delete_issue(link):
try:
response = requests.get(link)
except RequestException as e:
print(f"An error occurred while trying to get the link: {e}")
return False
return "This issue has been deleted." in response.text
def remove_unreachable_links(dir):
string_to_search = re.compile(r'// @see https://github\.com/ossrs/srs/issues/ .*')
file_list = util.find_files_with_extension(dir, ".cpp", True)
for file in file_list:
lines = []
with open(file, "r", encoding="utf-8") as f:
lines = f.readlines()
with open(file, "w", encoding="utf-8", newline="\n") as f:
for line in lines:
if string_to_search.search(line):
result = re.search(r'https://github\.com/ossrs/srs/issues/\d+ ', line)
if result:
link = result.group()
if is_delete_issue(link):
print("is_delete_issue link: file: %s, line: %s" % (file, line))
continue
f.write(line)
if __name__ == "__main__":
remove_unreachable_links("srs/trunk/src/")
```
2023-09-04 16:31:54 +08:00
ChenGH
0629beeb0a
asan: Fix memory leak in asan by releasing global IPs when run_directly_or_daemon fails. v5.0.154, v6.0.44 ( #3541 )
...
* asan: when run_directly_or_daemon failed, release gloabal ips
* asan: refine global system ips release code
* Update release to v5.0.154, v6.0.44
---------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-05-14 12:04:58 +08:00
winlin
c46ef81ff2
SRS5: Update license date to 2023. v5.0.123
...
PICK 72f8ed4916
2023-01-01 08:56:20 +08:00
winlin
6ad7787c14
Asan: Refine asan warning message for macOS.
...
PICK 7bdb7270cf
2022-12-31 21:20:51 +08:00
ChenGH
7eaee46f1f
Asan: Support parse asan symbol backtrace log. v5.0.113 ( #3324 )
...
* asan: support parse asan symbol log
* asan: refine srs_parse_asan_backtrace_symbols error code
* asan: Refine code, extract asan log to error file.
Co-authored-by: winlin <winlin@vip.126.com>
2022-12-18 21:14:11 +08:00
chengh
8be4c8e334
Asan: Set asan loging callback. v5.0.104
2022-12-04 22:24:37 +08:00
winlin
e86e0c8999
Disable CLS and APM by default. v5.0.101
2022-12-03 18:35:41 +08:00
ChenGH
f4f9c70d79
Asan: Fix global ip address leak check bug. v5.0.90 ( #3248 )
...
* asan: fix global ips memory leak bug
* Asan: Fix global ip address leak check. v5.0.90
* Asan: Directly start SRS for daemon error fixed.
Co-authored-by: winlin <winlin@vip.126.com>
2022-11-21 20:22:13 +08:00
winlin
3d0dcb2a17
Windows: Support run in single thread mode.
2022-11-19 12:11:03 +08:00
winlin
b8461ba236
Refine print constant string.
2022-10-25 13:39:49 +08:00
winlin
e10fa6dc91
Kernel: Support grab backtrace stack when assert fail. v5.0.80
2022-10-21 23:37:30 +08:00
mapengfei53
eb04f92176
Config: Support overwrote by environment variables. ( #3197 )
...
* Support overwrite by environment virable.
* modify duplicated code
* Config: Add stat for envrionment config.
* Config: Fix utest fail.
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: winlin <winlin@vip.126.com>
2022-10-03 13:00:12 +08:00
winlin
d65c699829
Micro changes and refines.
2022-09-30 18:11:59 +08:00
hondaxiao
4acb246c57
Fix #3181 : SRT & WebRTC: Use SrsRawH264Stream to mux SPS/PPS.
2022-09-22 14:55:55 +08:00
winlin
3e2f8622f8
APM: Support distributed tracing by Tencent Cloud APM. v5.0.63
2022-09-16 18:54:28 +08:00
chundonglinlin
ef04d411c0
Main: remove extra space and refine code. ( #3127 )
2022-09-01 19:45:09 +08:00
winlin
b2e083b00d
Support multiple threads by thread pool. v5.0.32
2022-06-29 20:15:44 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
78b778fb93
SRT: Rename srs_service_st_srt to srs_protocol_srt
2022-06-14 20:02:25 +08:00
winlin
21899c5998
SRT: Initialize SRT eventloop in adapter.
2022-06-14 20:02:24 +08:00
hondaxiao
94fa0ff7bd
Refine SRT code, with StateThread adpater
2022-06-14 19:58:42 +08:00
winlin
fa78cf3354
Prefix with srs_protocol in protocol directory.
2022-06-09 20:26:58 +08:00
winlin
665ad564fb
Rename service to protocol files.
2022-06-09 19:59:51 +08:00
winlin
88c8a4f6c0
Squash: Bug fixed
2022-02-16 11:34:05 +08:00
winlin
acf0af6b5a
Squash: Update
2022-02-13 08:31:10 +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
93aa0eb5ba
Squash: Fix bugs
2022-01-13 18:26:28 +08:00
winlin
4110fb14cb
Squash: Fix bugs. v5.0.20
2022-01-11 08:40:37 +08:00
winlin
a81aa2edc5
Squash: Merge SRS 4.0
2021-10-10 12:05:26 +08:00
winlin
38b0b1dab2
Squash: Fix ingest bug. Refine AUTHORS.
2021-08-25 08:11:44 +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
13d015b8fd
Squash: Fix random bug
2021-07-04 16:04:51 +08:00
winlin
a594678e3d
Squash #1685 , #1282 , #1547 : Support ARM platform. 5.0.5
2021-06-22 07:49:48 +08:00
winlin
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +08:00
winlin
3256c7c2fa
SquashSRS4: Refine the init of global objects
2021-05-08 11:51:54 +08:00
winlin
276bd2223e
SquashSRS4: Support circuit breaker
2021-05-08 10:04:44 +08:00
winlin
f9d9f3a373
Modules: Fix build fail for global variables.
2021-04-25 13:34:57 +08:00
winlin
b29827d22c
Modules: Enable app files for module
2021-04-21 11:03:37 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
4ef1acb700
Remove dead code: memory watch
2021-02-15 19:33:40 +08:00
winlin
d552a1a5fb
For #1657 , support HTTPS client, for http-callback. 4.0.45
2020-11-03 15:45:52 +08:00
winlin
8c1eca98b0
Merge SRS3.0
2020-10-31 19:25:56 +08:00
winlin
9f9e3a5d42
Use global _srs_server for debugging. 3.0.151
2020-10-31 17:47:27 +08:00
winlin
b602aef56f
Merge branch 'develop' into feature/rtc
2020-10-10 17:56:05 +08:00
winlin
20293e7e5d
Merge 3.0release
2020-10-10 17:54:34 +08:00
winlin
726ac03e22
Change stable release to 3.0
2020-10-10 16:38:59 +08:00
winlin
42a2dea5e0
Refine code
2020-09-30 11:14:49 +08:00
winlin
5b3f278243
RTC: Refine log
2020-09-17 16:25:24 +08:00
winlin
4c459a004e
Log: Support tag for log
2020-09-10 11:07:21 +08:00