john
03d1d91f2f
Prevent the output of srt logs in utest. v5.0.181 v6.0.79 ( #3807 )
...
Prevent the output of srt logs in utest.
---------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-09-21 15:37:24 +08:00
Winlin
73dd8af4c9
HLS: Ignore empty NALU to avoid error. v6.0.65 ( #3750 )
...
For the DJI M30, there is a bug where empty NALU packets with a size of
zero are causing issues with HLS streaming. This bug leads to random
unpublish events due to the SRS disconnecting the connection for the HLS
module when it fails to handle empty NALU packets.
To address this bug, we have patched the system to ignore any empty NALU
packets with a size of zero. Additionally, we have created a tool in the
srs-bench to replay pcapng files captured by tcpdump or Wireshark. We
have also added utest using mprotect and asan to detect any memory
corruption.
It is important to note that this bug has been fixed in versions 4.0.271
6477f31004 and 5.0.170
939f6b484b . This patch specifically
addresses the issue in SRS 6.0.
Please be aware that there is another commit related to this bug that
partially fixes the issue but still leaves a small problem for asan to
detect memory corruption. This commit,
577cd299e1 , only ignores empty NALU
packets but still reads beyond the memory.
---------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-08-02 22:49:49 +08:00
winlin
c46ef81ff2
SRS5: Update license date to 2023. v5.0.123
...
PICK 72f8ed4916
2023-01-01 08:56:20 +08:00
Winlin
368356c223
Support address sanitizer for utest and fix some leaks. ( #3242 )
...
* MP4: Fix memory leak when error.
* Kernel: Support free global objects for utest.
* HTTP: Fix memory leak when error.
* MP4: Support more sample rate for audio.
* RTMP: Support free field for utest.
* UTest: Support address sanitizer.
2022-11-18 11:19:01 +08:00
winlin
e9915c3bd7
Log: Refine the log interface. v5.0.82
2022-10-25 09:20:55 +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
winlin
457738f6eb
Fix #2881 : HTTP: Support merging api to server. v5.0.47
2022-08-28 13:11:31 +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
492e3a888c
SRT: Refine the SRT socket code.
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
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
3256c7c2fa
SquashSRS4: Refine the init of global objects
2021-05-08 11:51:54 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
c33dfd2313
RTC: Add utest for DTLS
2020-08-18 19:20:07 +08:00
winlin
8e22508057
Refine utest
2020-07-30 18:54:16 +08:00
winlin
0a16b1c1e3
Log: Refine log context.
2020-07-11 20:58:25 +08:00
winlin
81d2e10f65
Refactor ISrsContext and ISrsLog
2020-06-25 13:14:59 +08:00
winlin
7627c290c9
Fix context string ID bug
2020-06-19 08:57:18 +08:00
winlin
9b663c070a
Fix #1635 , support auto reaload config by inotify. 3.0.129
2020-03-12 18:14:23 +08:00
winlin
a6fe4e80d3
For #1547 , remove the SRS_OSX macro in code
2020-01-20 11:25:39 +08:00
winlin
d783a12f89
Happy 2020
2019-12-30 10:10:35 +08:00
winlin
232024ef67
AMF0: Refine utest
2019-10-18 08:54:59 +08:00
winlin
9542cd2ba5
AMF0: Refine utest
2019-10-18 08:54:13 +08:00
winlin
026b2a2a1e
Cover AMF0 codec. 3.0.61
2019-10-18 00:48:49 +00:00
winlin
da46091d3c
Cover AMF0 codec. 3.0.61
2019-10-12 09:27:32 +08:00
winlin
99ca2b9567
Cover AMF0 codec. 3.0.61
2019-10-12 08:56:04 +08:00
winlin
ebe8fa44e5
Cover AMF0 codec. 3.0.61
2019-10-12 00:36:52 +00:00
winlin
9d1249e256
Cover AMF0 codec. 3.0.61
2019-10-12 00:32:25 +00:00
winlin
b2e4a5f834
Cover AMF0 codec. 3.0.61
2019-10-11 09:28:53 +08:00
winlin
f24d82fada
Cover AMF0 codec. 3.0.61
2019-10-10 08:49:57 +08:00
winlin
77cc148608
Refine utest
2019-05-14 08:42:46 +08:00
winlin
a9a720e32f
Cover ST Coroutine and time unit. 3.0.48
2019-04-07 12:59:37 +08:00
winlin
b2d1d84634
Change to 2019
2019-01-01 21:37:28 +08:00
winlin
ca1395a807
Change date from 2017 to 2018
2018-01-07 10:58:53 +08:00
winlin
ff822b55cd
For #820 , extract service module.
2017-03-26 10:16:21 +08:00
winlin
0a57a46016
Refine LICENSE
2017-03-25 21:29:29 +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
1ffd5fd455
rename org simple-rtmp-server to ossrs
2015-11-11 10:37:50 +08:00
winlin
b23e196f20
migarate from winlinvip to srs org, move the copyright to srs org.
2015-04-29 17:38:23 +08:00
winlin
bbac2348db
for #354 , remove the double underscore functions and variables.
2015-03-21 11:55:28 +08:00
winlin
569596c10d
update copyright, from 2013 to 2015
2014-12-31 20:32:09 +08:00
winlin
cf7504826b
fix reload ingest bug, remove when disabled. 0.9.196
2014-08-16 19:59:14 +08:00
winlin
7b24788445
for bug #143 , build on centos5.
2014-08-02 22:18:39 +08:00
winlin
30ebba0673
add config check utest
2014-07-26 15:54:40 +08:00