Merge branch 'development' into LTS_development
This commit is contained in:
commit
8219ac15ca
2 changed files with 2 additions and 0 deletions
|
@ -725,6 +725,7 @@ namespace Mist {
|
|||
}
|
||||
}
|
||||
H.Clean(); //make sure no parts of old requests are left in any buffers
|
||||
H.setCORSHeaders();
|
||||
H.SetHeader("Content-Type", "video/MP4"); //Send the correct content-type for MP4 files
|
||||
if (!myMeta.live) {
|
||||
H.SetHeader("Accept-Ranges", "bytes, parsec");
|
||||
|
|
|
@ -58,6 +58,7 @@ namespace Mist {
|
|||
}
|
||||
|
||||
void OutProgressiveSRT::sendHeader(){
|
||||
H.setCORSHeaders();
|
||||
if (webVTT){
|
||||
H.SetHeader("Content-Type", "text/vtt; charset=utf-8");
|
||||
}else{
|
||||
|
|
Loading…
Add table
Reference in a new issue