You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk
MarkCao 8fde0366fb
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.

---------

Co-authored-by: winlin <winlin@vip.126.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
..
3rdparty GB: Support HEVC for regression test and load tool for GB. (#3416) 2 years ago
auto SRS5: FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2 years ago
conf Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 (#3105) 2 years ago
doc Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 (#3105) 2 years ago
etc/init.d
gdb
ide/srs_clion Merge branch v5.0.103 into develop 2 years ago
modules
packaging Windows: Refine cygwin pipeline (#3260) 2 years ago
research Rewrite research/api-server code by Go, remove Python. (#3382) 2 years ago
scripts Package script support extra options. v5.0.102 2 years ago
src Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 (#3105) 2 years ago
usr/lib/systemd/system
.gitignore
AUTHORS.md Add new contributors. 2 years ago
AUTHORS.txt
Dockerfile Rename SRS_SRS_LOG_TANK to SRS_LOG_TANK. #3410 2 years ago
Dockerfile.builds Merge branch v5.0.103 into develop 2 years ago
Dockerfile.cov Asan: Refine asan warning message for macOS. 2 years ago
Dockerfile.pkg Merge branch v5.0.103 into develop 2 years ago
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2 years ago
configure SRS5: FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2 years ago