mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #299, write MPD file.
This commit is contained in:
parent
e754ab7073
commit
8ab727f3c5
7 changed files with 307 additions and 6 deletions
|
@ -374,6 +374,11 @@ int SrsHttpFileServer::serve_file(ISrsHttpResponseWriter* w, ISrsHttpMessage* r,
|
|||
_mime[".jpeg"] = "image/jpeg";
|
||||
_mime[".jpg"] = "image/jpeg";
|
||||
_mime[".gif"] = "image/gif";
|
||||
// For MPEG-DASH.
|
||||
//_mime[".mpd"] = "application/dash+xml";
|
||||
_mime[".mpd"] = "text/xml";
|
||||
_mime[".m4s"] = "video/iso.segment";
|
||||
_mime[".mp4v"] = "video/mp4";
|
||||
}
|
||||
|
||||
if (true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue