mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #1509, release coroutine when source is idle. 3.0.98
This commit is contained in:
parent
816aa91a7f
commit
857c783efc
6 changed files with 53 additions and 7 deletions
|
@ -185,6 +185,9 @@ public:
|
|||
public:
|
||||
// Initialize the hls muxer.
|
||||
virtual srs_error_t initialize();
|
||||
// When publish or unpublish stream.
|
||||
virtual srs_error_t on_publish(SrsRequest* req);
|
||||
virtual srs_error_t on_unpublish();
|
||||
// When publish, update the config for muxer.
|
||||
virtual srs_error_t update_config(SrsRequest* r, std::string entry_prefix,
|
||||
std::string path, std::string m3u8_file, std::string ts_file,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue