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
chundonglinlin
9f4338bd9d
For #2899 : Exporter: Add metrics cpu, memory and uname. ( #3224 )
...
* Exporter: metrics support cpu gauge.
* Exporter: metrics support memory and uname..
* Exporter: Ignore error when uname fail.
Co-authored-by: winlin <winlin@vip.126.com>
2022-10-31 08:53:58 +08:00
john
7d9dc69ae1
SRT: Support encrypt, with utest ( #3223 )
...
* SRT: support encrypt, with utest
* SRT: refine set srt option error log
2022-10-28 16:55:35 +08:00
Winlin
2d1ba46e37
Fix #3218 : Log: Follow Java/log4j log level specs. v5.0.83 ( #3219 )
...
1. Support Java/log4j log level text.
2. Support configuring by `--log-new-level=on` which is enabled by default.
3. Support `--log-new-level=off` to use SRS 4.0 log level for compatibility.
2022-10-26 21:23:03 +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
winlin
c12deded98
GB28181: Fix bug for parsing GB to RTC.
2022-10-07 19:47:34 +08:00
Winlin
5a420ece3b
GB28181: Support GB28181-2016 protocol. v5.0.74 ( #3201 )
...
01. Support GB config as StreamCaster.
02. Support disable GB by --gb28181=off.
03. Add utests for SIP examples.
04. Wireshark plugin to decode TCP/9000 as rtp.rfc4571
05. Support MPEGPS program stream codec.
06. Add utest for PS stream codec.
07. Decode MPEGPS packet stream.
08. Carry RTP and PS packet as helper in PS message.
09. Support recover from error mode.
10. Support process by a pack of PS/TS messages.
11. Add statistic for recovered and msgs dropped.
12. Recover from err position fastly.
13. Define state machine for GB session.
14. Bind context to GB session.
15. Re-invite when media disconnected.
16. Update GitHub actions with GB28181.
17. Support parse CANDIDATE by env or pip.
18. Support mux GB28181 to RTMP.
19. Support regression test by srs-bench.
2022-10-06 17:40:58 +08:00
winlin
9c81a0e1bd
UTest: Fix utest warnings.
2022-10-06 16:09:07 +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
dc20d5ddbc
ST: Support set context id while thread running. v5.0.72
2022-10-02 10:05:01 +08:00
winlin
d32bd72527
Micro changes and fix utest fail.
2022-09-30 19:32:22 +08:00
winlin
1e6143e2eb
GB28181: Refine HTTP parser to support SIP. v5.0.70
2022-09-30 19:21:31 +08:00
winlin
4b7d9587f4
HTTP: Support HTTP header in creating order. v5.0.68
2022-09-30 18:22:25 +08:00
winlin
d65c699829
Micro changes and refines.
2022-09-30 18:11:59 +08:00
winlin
378bffa34f
Micro changes and refines.
2022-09-30 17:57:48 +08:00
winlin
173c683566
GB28181: Refine SRS listeners without wrapper.
2022-09-30 12:38:02 +08:00
winlin
0c6d30861b
Merge branch '4.0release' into develop
2022-09-27 14:53:23 +08:00
winlin
386b92e9ab
For #3167 : WebRTC: Refine sequence jitter algorithm. v4.0.266
2022-09-27 14:53:05 +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
winlin
625069af7f
WebRTC: Extract SrsRtcNetwork layer for UDP/TCP.
2022-09-04 20:14:09 +08:00
winlin
77e1f81f91
For #1405 : Fix utest build failed, for parsing SPS/PPS.
2022-09-02 11:37:05 +08:00
winlin
783aea7ac3
Fix #1405 : Support guessing IBMF first. v5.0.58
2022-09-01 19:28:51 +08:00
winlin
dd37a041b9
Fix URL parsing bug for __defaultVhost__. v5.0.55
2022-08-31 11:46:09 +08:00
winlin
b009860b11
UTest: Split utest to smaller file.
2022-08-31 09:18:47 +08:00
winlin
9c6774b644
STAT: Refine tcUrl for SRT/RTC. v5.0.54
2022-08-30 21:28:06 +08:00
winlin
d877c0b76f
Tools: Update console and httpx.
2022-08-30 19:25:42 +08:00
winlin
2c259bd95b
Refactor: Extract SrsNetworkKbps from SrsKbps. v5.0.53
2022-08-30 13:41:27 +08:00
winlin
937605b18c
Remove bandwidth check because falsh is disabled. v5.0.52
2022-08-30 10:45:40 +08:00
winlin
1630918b0f
Refactor: Use compositor for ISrsKbpsDelta. v5.0.51
2022-08-30 09:26:51 +08:00
winlin
db91102e67
STAT: Extract an ephemeral delta object.
2022-08-29 13:44:10 +08:00
winlin
d7c2d5ab01
HLS: Stat the HLS streaming clients bandwidth. v5.0.49
2022-08-29 12:09:26 +08:00
winlin
28154e820c
URL: Use SrsHttpUri to parse URL and query.
2022-08-28 20:24:07 +08:00
winlin
9bd3c51818
RTMP: Refine code for gussing stream by app.
2022-08-28 17:03:34 +08:00
winlin
457738f6eb
Fix #2881 : HTTP: Support merging api to server. v5.0.47
2022-08-28 13:11:31 +08:00
winlin
d39995cc31
HLS: Enable hls_ctx by default.
2022-08-27 19:41:07 +08:00
ChenHaibo
ca7b5a1c4e
HLS: Add utest for HLS streaming.
2022-08-27 19:41:07 +08:00
winlin
8bc7342c3c
Protobuf: Extract protobuf encoder.
2022-08-26 18:46:26 +08:00
winlin
4edf33326d
Merge branch '4.0release' into develop
2022-08-17 11:10:30 +08:00
winlin
f9941a325b
RTMP URL supports domain in stream parameters. v4.0.255
2022-08-17 11:08:32 +08:00
winlin
a71eddd56a
Fix the snprintf size issue.
2022-08-10 08:32:02 +08:00
winlin
b2e083b00d
Support multiple threads by thread pool. v5.0.32
2022-06-29 20:15:44 +08:00
winlin
e05535267b
Disable reload for log config.
2022-06-29 19:29:50 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
9efb6de0b4
SRT: Merge develop, fix build fail.
2022-06-14 20:02:25 +08:00
winlin
6009395c10
SRT: Hide srt implements from API.
2022-06-14 20:02:25 +08:00
winlin
d39ec3cf45
SRT: Extract ISrsSrtPoller to hide SRT_EPOLL_EVENT
2022-06-14 20:02:25 +08:00
winlin
78b778fb93
SRT: Rename srs_service_st_srt to srs_protocol_srt
2022-06-14 20:02:25 +08:00
winlin
492e3a888c
SRT: Refine the SRT socket code.
2022-06-14 20:02:24 +08:00