mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #293, add http stream cache for audio mp3/aac stream.
This commit is contained in:
parent
e6549b261c
commit
f9f2fcbb9c
4 changed files with 165 additions and 19 deletions
|
@ -494,7 +494,7 @@ public:
|
|||
virtual void on_unpublish();
|
||||
// consumer methods
|
||||
public:
|
||||
virtual int create_consumer(SrsConsumer*& consumer);
|
||||
virtual int create_consumer(SrsConsumer*& consumer, bool dump_gop_cache = true);
|
||||
virtual void on_consumer_destroy(SrsConsumer* consumer);
|
||||
virtual void set_cache(bool enabled);
|
||||
// internal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue