tomcat - How to add ts(Transport Stream) on web.xml(Server) as a MIME TYPE -
i using spring mvc project , tomcat 7.0.
in reason, want add new mime type web.xml.
new mime type .ts(transport stream file, not typescript).
so idea duplicate every mime setting mp4, , replace "mp4" "ts".
but in "web.xml", there many things related mp4.
so frustrated:(
i hope teach me how add transport stream file web.xml.
i thank in advanced:d
i found myself:d
original mime type of ts(transport stream) mp2t.
so if want add web.xml(in server),
you can write below.
<mime-mapping> <extension>ts</extension> <mime-type>video/mp2t</mime-type> </mime-mapping> but though finished set up,
almost browser(except picture motion browser) can not
play format. if got idea, please share~
Comments
Post a Comment