mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
update dvr comments
This commit is contained in:
parent
fdd0678bcb
commit
f5ff9c7241
1 changed files with 6 additions and 6 deletions
|
@ -49,13 +49,13 @@ public:
|
|||
virtual ~SrsDvr();
|
||||
public:
|
||||
/**
|
||||
* publish stream event, continue to write the m3u8,
|
||||
* for the muxer object not destroyed.
|
||||
* publish stream event,
|
||||
* when encoder start to publish RTMP stream.
|
||||
*/
|
||||
virtual int on_publish(SrsRequest* req);
|
||||
/**
|
||||
* the unpublish event, only close the muxer, donot destroy the
|
||||
* muxer, for when we continue to publish, the m3u8 will continue.
|
||||
* the unpublish event.,
|
||||
* when encoder stop(unpublish) to publish RTMP stream.
|
||||
*/
|
||||
virtual void on_unpublish();
|
||||
/**
|
||||
|
@ -63,11 +63,11 @@ public:
|
|||
*/
|
||||
virtual int on_meta_data(SrsAmf0Object* metadata);
|
||||
/**
|
||||
* mux the audio packets to ts.
|
||||
* mux the audio packets to dvr.
|
||||
*/
|
||||
virtual int on_audio(SrsSharedPtrMessage* audio);
|
||||
/**
|
||||
* mux the video packets to ts.
|
||||
* mux the video packets to dvr.
|
||||
*/
|
||||
virtual int on_video(SrsSharedPtrMessage* video);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue