mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #251, refine the directly access ptrs for hls,dvr,forwarder,consumer.
This commit is contained in:
parent
d3a103184a
commit
de993b6465
8 changed files with 97 additions and 67 deletions
|
@ -326,12 +326,14 @@ public:
|
|||
virtual int on_meta_data(SrsAmf0Object* metadata);
|
||||
/**
|
||||
* mux the audio packets to ts.
|
||||
* @param __audio, directly ptr, copy it if need to save it.
|
||||
*/
|
||||
virtual int on_audio(SrsSharedPtrMessage* audio);
|
||||
virtual int on_audio(SrsSharedPtrMessage* __audio);
|
||||
/**
|
||||
* mux the video packets to ts.
|
||||
* @param __video, directly ptr, copy it if need to save it.
|
||||
*/
|
||||
virtual int on_video(SrsSharedPtrMessage* video);
|
||||
virtual int on_video(SrsSharedPtrMessage* __video);
|
||||
private:
|
||||
virtual void hls_mux();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue