mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #299, A/V init mp4 are fine.
This commit is contained in:
parent
886930c22a
commit
3ec9df6578
6 changed files with 461 additions and 8 deletions
|
@ -80,7 +80,12 @@ public:
|
|||
class SrsDashController
|
||||
{
|
||||
private:
|
||||
SrsRequest* req;
|
||||
SrsMpdWriter* mpd;
|
||||
private:
|
||||
std::string home;
|
||||
int video_tack_id;
|
||||
int audio_track_id;
|
||||
public:
|
||||
SrsDashController();
|
||||
virtual ~SrsDashController();
|
||||
|
@ -90,6 +95,7 @@ public:
|
|||
virtual int on_video(SrsSharedPtrMessage* shared_video, SrsFormat* format);
|
||||
private:
|
||||
virtual int refresh_mpd(SrsFormat* format);
|
||||
virtual int refresh_init_mp4(SrsSharedPtrMessage* msg, SrsFormat* format);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue