mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add miss files. fix bug #60: support aggregate message
This commit is contained in:
parent
f6dd1371bf
commit
8388da6325
12 changed files with 247 additions and 3 deletions
|
@ -57,6 +57,7 @@ class SrsDvr;
|
|||
#ifdef SRS_AUTO_TRANSCODE
|
||||
class SrsEncoder;
|
||||
#endif
|
||||
class SrsStream;
|
||||
|
||||
/**
|
||||
* time jitter detect and correct,
|
||||
|
@ -251,6 +252,8 @@ private:
|
|||
SrsGopCache* gop_cache;
|
||||
// to forward stream to other servers
|
||||
std::vector<SrsForwarder*> forwarders;
|
||||
// for aggregate message
|
||||
SrsStream* aggregate_stream;
|
||||
private:
|
||||
/**
|
||||
* the sample rate of audio in metadata.
|
||||
|
@ -307,6 +310,7 @@ public:
|
|||
virtual int on_meta_data(SrsMessage* msg, SrsOnMetaDataPacket* metadata);
|
||||
virtual int on_audio(SrsMessage* audio);
|
||||
virtual int on_video(SrsMessage* video);
|
||||
virtual int on_aggregate(SrsMessage* msg);
|
||||
/**
|
||||
* publish stream event notify.
|
||||
* @param _req the request from client, the source will deep copy it,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue