winlin
e15fb07916
Switch to 2013-2024. v5.0.205
2023-12-30 09:29:07 +08:00
MarkCao
36a72282e6
Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 ( #3105 )
...
For some use scenario, the publisher is invited when player want to view the stream:
1. Publisher connect to system, but does not publish any stream to SRS yet.
2. Player connect to system and start to request the stream.
3. System notifies publisher to publish stream to SRS.
4. Player play the stream from SRS.
Please notice that `system` means your business system, not SRS.
This is what we called `on-demand-live-streaming`, so when the last player stop to view the stream, what happends?
1. System needs to notify publisher to stop publish.
2. Or, SRS disconnect the publisher when idle(the last player stops playing).
This PR is for the solution 2, so that the cleanup is very simple, your system does not need to notify publisher to stop publish, because SRS has already disconnected the publihser.
PICK 8fde0366fb
---------
Co-authored-by: winlin <winlin@vip.126.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-03-06 09:13:39 +08:00
winlin
72f8ed4916
Update license date to 2023. v5.0.123
2023-01-01 08:49:13 +08:00
winlin
e86e0c8999
Disable CLS and APM by default. v5.0.101
2022-12-03 18:35:41 +08:00
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>
2022-11-22 12:31:45 +08:00
winlin
e10fa6dc91
Kernel: Support grab backtrace stack when assert fail. v5.0.80
2022-10-21 23:37:30 +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
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
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
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
9bd3c51818
RTMP: Refine code for gussing stream by app.
2022-08-28 17:03:34 +08:00
chundonglinlin
96add9be3d
RTMP: Support publish with Server without StreamKey using OBS.( #3018 )
2022-08-28 16:19:11 +08:00
winlin
4e3ea99ccd
STAT: Refine stat for global server.
2022-08-27 20:40:34 +08:00
winlin
6c295952f6
RTMP: Fix unused variable warning.
2022-07-20 21:53:57 +08:00
Steven Liu
8a6fa30992
app/srs_app_rtmp_conn: move err result to RTC MACRO to fix compiling warning
2022-07-18 13:50:10 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
e09daa2d4b
SRT: Change bridges to bridge.
2022-06-14 20:05:09 +08:00
hondaxiao
fbc6eebe18
SRT: remove rtmp_to_srt
2022-06-14 20:02:25 +08:00
hondaxiao
e13d16439e
SRT: support rtmp to srt
2022-06-14 20:02:22 +08:00
winlin
fa78cf3354
Prefix with srs_protocol in protocol directory.
2022-06-09 20:26:58 +08:00
winlin
f1840b87e5
Fix typo, change bridger to bridge.
2022-06-09 19:35:07 +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
8576fa7052
Squash: Merge v4.0.203
2021-12-04 11:21:35 +08:00
Haibo Chen
a86f3905b2
Put the statistics code after http callback ( #2687 )
2021-10-22 08:03:49 +08:00
winlin
b874d9c9ba
Squash: Merge SRS 4.0, regression test for RTMP.
2021-10-12 08:36:24 +08:00
winlin
a81aa2edc5
Squash: Merge SRS 4.0
2021-10-10 12:05:26 +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
75530efbc4
Squash: Merge #2448 , #2440
2021-06-30 07:32:28 +08:00
winlin
efdbf37255
Squash: Move GB28181 to feature/gb28181. 5.0.4
2021-06-16 14:03:55 +08:00
winlin
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
6dc8d9dd6f
SquashSRS4: Remove srs-librtmp
2021-05-20 20:07:13 +08:00
winlin
f043a7eb48
SquashSRS4: Allow RTC play before publish.
2021-05-19 21:06:17 +08:00
winlin
e3bca883e1
SuqashSRS4: Build SRT native
2021-05-16 16:14:00 +08:00
winlin
f711eb79ed
SquashSRS4: Refine stat id. Fix SRT build bug
2021-05-14 08:26:07 +08:00
winlin
74bb47c13f
SquashSRS4: Support RTC2RTMP.
2021-05-01 22:15:57 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
4fc1a19415
For #2194 , yield for timer, for live publisher
2021-02-11 22:03:00 +08:00
winlin
211b05fc64
For #2194 , yield for high performance timer, for live player
2021-02-11 21:15:26 +08:00
winlin
32c1832d64
For #1657 , refine code
2020-11-07 07:39:50 +08:00
winlin
24125b9770
For #1657 : Refine connection arch, remove hierachy
2020-11-05 15:08:36 +08:00
winlin
2a14dc0ebd
For #1657 : Refine TCP connections arch
2020-11-05 12:25:54 +08:00
winlin
4ba66b388b
For #1657 : Refine TCP connections arch
2020-11-05 11:47:24 +08:00
winlin
8c1eca98b0
Merge SRS3.0
2020-10-31 19:25:56 +08:00
winlin
bf5e2add83
Refine source cid, track previous one. 3.0.150
2020-10-31 17:42:20 +08:00
winlin
64705d1cc8
RTC: Refine resouce management
2020-09-19 10:30:05 +08:00
winlin
d8a158290f
Remove unused conn from consumer.
2020-09-11 17:03:48 +08:00
winlin
88826aae8f
Rename SrsConnection to SrsTcpConnection
2020-09-11 16:59:22 +08:00