mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #299, extract fragment and fragment window for hls
This commit is contained in:
parent
6da6e0511d
commit
da4c390d69
9 changed files with 450 additions and 192 deletions
|
@ -158,6 +158,13 @@ SrsDashController::SrsDashController()
|
|||
SrsDashController::~SrsDashController()
|
||||
{
|
||||
srs_freep(mpd);
|
||||
|
||||
vector<SrsFragmentedMp4*>::iterator it;
|
||||
for (it = fragments.begin(); it != fragments.end(); ++it) {
|
||||
SrsFragmentedMp4* fragment = *it;
|
||||
srs_freep(fragment);
|
||||
}
|
||||
fragments.clear();
|
||||
}
|
||||
|
||||
int SrsDashController::initialize(SrsRequest* r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue