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
95defe6dad
MP3: Support dump stream information. v5.0.117 ( #296 ) ( #3339 )
2022-12-25 21:11:08 +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
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
665ad564fb
Rename service to protocol files.
2022-06-09 19:59:51 +08:00
winlin
f1840b87e5
Fix typo, change bridger to bridge.
2022-06-09 19:35:07 +08:00
chundonglinlin
03cf93fc2b
Forward: support config full rtmp url forward to other server ( #2799 )
...
* Forward: add backend config and demo server for dynamic create forwarder to other server.(#1342 )
* Forward: if call forward backend failed, then return directly.
* Forward: add API description and change return value format.
* Forward: add backend conf file and wrapper function for backend service.
* Forward: add backend comment in full.conf and update forward.backend.conf.
* Forward: rename backend param and add comment tips.
2022-02-16 10:49:16 +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
8576fa7052
Squash: Merge v4.0.203
2021-12-04 11:21:35 +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
e3bca883e1
SuqashSRS4: Build SRT native
2021-05-16 16:14:00 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +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
a357c013cd
Timer: Apply timer(HourGlass) to server and sources
2021-02-09 17:15:25 +08:00
winlin
ed32965aa4
Revert "Fix #2142 , Async release bridger when unpublish. 4.0.60"
...
This reverts commit 06adb9dc42
.
2021-01-15 13:30:52 +08:00
winlin
06adb9dc42
Fix #2142 , Async release bridger when unpublish. 4.0.60
2021-01-14 19:12:01 +08:00
winlin
8c1eca98b0
Merge SRS3.0
2020-10-31 19:25:56 +08:00
winlin
b348539687
Remove some global elements for debugging. 3.0.152
2020-10-31 17:53:00 +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
winlin
4984bcbaef
Revert "supprot LAS(live adaptive stream)"
...
This reverts commit c1f98ddcc8
.
2020-08-06 12:02:32 +08:00
winlin
8ae3ab0ba7
Merge SRS 4.0
2020-07-19 10:09:28 +08:00
winlin
6624b8acca
Log: Use object as context id for complex context
2020-07-05 23:26:55 +08:00
liulichuan
c1f98ddcc8
supprot LAS(live adaptive stream)
...
Change-Id: I2f9fd889fc924a3b080667bd2114f4632be461a0
2020-07-03 11:18:10 +08:00
winlin
8a0c2e01f8
Log: Change cid from int to string
2020-06-18 11:45:43 +08:00
winlin
620ca902e2
RTC: Remove dead code
2020-05-15 08:24:26 +08:00
winlin
9e417d5416
Refine SrsSource, bridge to RTC.
2020-05-12 19:53:21 +08:00
winlin
d2e5cd7bb7
RTC: Refine code, remove pass_timestamp from SrsSource
2020-05-12 13:51:51 +08:00
winlin
d434dc951d
RTC: Cleanup code, remove RTC from SrsSource
2020-05-12 13:43:09 +08:00
winlin
25496b734b
RTC: Extract RTC Source and Consumer
2020-05-12 13:19:31 +08:00
winlin
1688d53f7d
Refine source, pass-by RTC publisher for player
2020-05-03 07:51:01 +08:00
winlin
20b4984af4
Refine consumer dumps, extract dumps API
2020-05-03 07:43:05 +08:00
winlin
5c43037190
Remove usused RTP shared packet.
2020-05-02 10:24:31 +08:00
winlin
b3a0284db5
Refactor code to split implementation to cpp
2020-05-02 09:48:04 +08:00
winlin
5ee5ef6ab2
For #307 , support publish RTC with passing opus. 4.0.24
2020-04-30 10:57:03 +08:00
winlin
99f9f566ba
Refactor RTC function names
2020-04-30 10:00:07 +08:00
winlin
f37ffdf740
For RTC publisher, request keyframe when start playing
2020-04-30 08:24:15 +08:00
winlin
ed338f4c0a
Refactor macro SRS_AUTO_XXX to SRS_XXX.
2020-04-29 20:02:28 +08:00
winlin
c93cd86ce4
For #307 , refine performance
2020-04-18 20:37:08 +08:00
winlin
a2fdf0d3c7
For #307 , package video rtp packets when send message
2020-04-11 21:03:37 +08:00
winlin
602a478e1b
For #1659 , #307 , add switch to disable rtc
2020-03-22 18:17:05 +08:00
xiaozhihong
fa700dad64
1. Modify rtc.conf to support Bframe discard.
...
2. Rename srs_app_rtp.cpp to srs_app_rtc.cpp
2020-03-21 21:26:30 +08:00
winlin
c2a667cc35
For #1638 , #307 , add comments for api and enum
2020-03-16 22:01:09 +08:00
winlin
60c8b37f05
For #1638 , #307 , merge john, add NACK suport, remove debug code, verbose log
2020-03-14 22:51:35 +08:00
xiaozhihong
2b56f9ee59
add NACK suport, remove debug code, verbose log
2020-03-14 22:11:01 +08:00