winlin
07a9a005d5
Refine default config file for SRS. v5.0.120
...
1. Docker use srs.conf and env variables.
2. Show help if run SRS without any options.
3. Do not guess config file, use whatever from user.
2 years ago
winlin
37867533cd
MP3: Convert RTMP(MP3) to WebRTC(OPUS). v5.0.118 ( #296 ) ( #3340 )
2 years ago
winlin
0a49638f54
MP3: Add config examples for MP3. #296
2 years ago
Winlin
a36cb57949
FLV: Support set default has_av and disable guessing. v5.0.110 ( #3311 )
...
* FLV: Support set default has_av and disable guessing. v5.0.110
1. Support config default has_audio and has_video.
2. Support disable guessing has_audio or has_video.
* FLV: Reset to false if start to guess has_av.
* FLV: Add regression test for FLV header av metadata.
2 years ago
Winlin
4551200e95
FLV: Drop packet if header flag is not matched. v5.0.109 ( #3306 )
...
1. Ignore audo or video packets if FLV header disable it.
2. Run: Add regression test config and run for IDEA.
3. Test: Refine regression test to allow no audio/video for FLV
4. Config: Whether drop packet if not match header.
2 years ago
mapengfei53
c7b7921712
Config: Add utest for configuring with ENV variables. v5.0.100 ( #3284 )
...
* Config: Add utest for configuring with ENV variables.
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
Winlin
fdbfe59784
Config: Add ENV tips for config. 5.0.97 ( #3278 )
2 years ago
john
271afbbf82
DASH: Fix number mode bug to make it run. v5.0.96 ( #3240 )
...
* Add utc time utility
* Fix calculate duration in fmp4
* Refine dash code, use segment template timeline
* Shrink m4s file and cleanup
* Support play by dash.js
* Use SegmentTemplate timeline mode with $Number$
Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
Winlin
13918ed81f
For #3236 : Live: Change gop cache limits to 2500. v5.0.94 ( #3273 )
2 years ago
stone
ec76512e42
Live: Limit cached max frames by gop_cache_max_frames ( #3236 )
...
* add gop_cache_max_frames
* Live: Limit cached max frames by gop_cache_max_frames. v5.0.93
Co-authored-by: wanglei <wanglei@unicloud.com>
Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
dev-clavis
fe9e7abd84
SRT: Config file does not enable srt for srt2rtc.conf ( #3250 )
...
* adding enable stm
* SRT: Enable rtmp to rtc.
Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
john
7d9dc69ae1
SRT: Support encrypt, with utest ( #3223 )
...
* SRT: support encrypt, with utest
* SRT: refine set srt option error log
2 years ago
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.
2 years ago
winlin
764e9a6751
For #3216 : Support force daemon for sanitizer.
2 years ago
winlin
7ddabd2cc2
Config: Remove space of directive.
2 years ago
mapengfei53
dd563d45ca
Config: Support overwrote by environment variables. ( #3200 )
...
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
2 years ago
winlin
c12deded98
GB28181: Fix bug for parsing GB to RTC.
2 years ago
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.
2 years ago
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>
2 years ago
chundonglinlin
9525511032
Exporter: Listen at port 9972 for Prometheus exporter. ( #3195 )
2 years ago
winlin
173c683566
GB28181: Refine SRS listeners without wrapper.
2 years ago
winlin
5f8da02ee7
API: Refine stat and config for prometheus exporter.
2 years ago
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>
2 years ago
winlin
d4898bec3c
APM: Check endpoint port and team.
2 years ago
winlin
3e2f8622f8
APM: Support distributed tracing by Tencent Cloud APM. v5.0.63
2 years ago
winlin
625069af7f
WebRTC: Extract SrsRtcNetwork layer for UDP/TCP.
3 years ago
winlin
770d959148
WebRTC: Support config, listener and SDP for TCP transport.
3 years ago
winlin
38c3d9f1a7
Config: Refine config file, nothing changed.
3 years ago
winlin
84c96076a9
Merge branch '4.0release' into develop
3 years ago
winlin
4a225c5640
For #307 : WebRTC: Support use domain name as CANDIDATE. v4.0.259
3 years ago
winlin
783aea7ac3
Fix #1405 : Support guessing IBMF first. v5.0.58
3 years ago
winlin
e027d28c4d
HLS: Support disable hls_ts_ctx.
3 years ago
winlin
7d47017a00
Ingest: Still use -re for stream to ingest HLS better.
3 years ago
winlin
6a108fab6d
Fix #2837 : Callback: Support stream_url and stream_id. v5.0.55
3 years ago
winlin
9c6774b644
STAT: Refine tcUrl for SRT/RTC. v5.0.54
3 years ago
winlin
937605b18c
Remove bandwidth check because falsh is disabled. v5.0.52
3 years ago
winlin
d7c2d5ab01
HLS: Stat the HLS streaming clients bandwidth. v5.0.49
3 years ago
winlin
f492d8b03a
HTTP: Support API with body, for RTC.
3 years ago
winlin
457738f6eb
Fix #2881 : HTTP: Support merging api to server. v5.0.47
3 years ago
winlin
ccf83a3f68
HLS: Extract a HLS streaming to serve pseudo session.
3 years ago
winlin
d39995cc31
HLS: Enable hls_ctx by default.
3 years ago
ChenHaibo
2c569f568c
HLS: Support config hls_ctx to disable HLS streaming.
3 years ago
winlin
5757950860
Merge 4.0release
3 years ago
winlin
cdccdf70b8
Hooks: Remove on_connect and on_close from doc.
3 years ago
winlin
18d25eacfb
Merge 4.0release
3 years ago
winlin
95cd0e84eb
Log: Support write log to tencentcloud CLS. v5.0.44
3 years ago
winlin
3da0b57121
Merge 4.0release.
3 years ago
winlin
9923c749d4
STAT: Support config server_id and generate one if empty. v4.0.257
3 years ago
winlin
a842c6c32a
Support crossbuild for hisiv500. v5.0.40
3 years ago
winlin
d885d574e4
Add files for reuse port for origins.
3 years ago