openvidu-server: add MimeMappings for serving webm files
This commit is contained in:
parent
c4e5e5c822
commit
16019da939
@ -29,6 +29,7 @@ public class ServletCustomizer implements EmbeddedServletContainerCustomizer {
|
||||
public void customize(ConfigurableEmbeddedServletContainer container) {
|
||||
MimeMappings mappings = new MimeMappings(MimeMappings.DEFAULT);
|
||||
mappings.add("mp4", "video/mp4");
|
||||
mappings.add("webm", "video/webm");
|
||||
container.setMimeMappings(mappings);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user