Skip to content

Commit

Permalink
Add a MIME type MPEG-DASH (mpd files)
Browse files Browse the repository at this point in the history
Fixes #2677

RELNOTES=`net`: Added the `MediaType` constant for MPEG-DASH.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=272444649
  • Loading branch information
joankaradimov authored and cpovirk committed Oct 2, 2019
1 parent ba7f51f commit 67dd062
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions android/guava/src/com/google/common/net/MediaType.java
Expand Up @@ -536,6 +536,18 @@ private static MediaType addKnownType(MediaType mediaType) {
/** <a href="http://goo.gl/XDQ1h2">Microsoft Word</a> documents. */
public static final MediaType MICROSOFT_WORD = createConstant(APPLICATION_TYPE, "msword");

/**
* Media type for <a
* href="https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP">Dynamic Adaptive
* Streaming over HTTP (DASH)</a>. This is <a
* href="https://www.iana.org/assignments/media-types/application/dash+xml">registered</a> with
* the IANA.
*
* @since NEXT
*/
public static final MediaType MEDIA_PRESENTATION_DESCRIPTION =
createConstant(APPLICATION_TYPE, "dash+xml");

/**
* WASM applications. For more information see <a href="https://webassembly.org/">the Web Assembly
* overview</a>.
Expand Down
12 changes: 12 additions & 0 deletions guava/src/com/google/common/net/MediaType.java
Expand Up @@ -536,6 +536,18 @@ private static MediaType addKnownType(MediaType mediaType) {
/** <a href="http://goo.gl/XDQ1h2">Microsoft Word</a> documents. */
public static final MediaType MICROSOFT_WORD = createConstant(APPLICATION_TYPE, "msword");

/**
* Media type for <a
* href="https://en.wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP">Dynamic Adaptive
* Streaming over HTTP (DASH)</a>. This is <a
* href="https://www.iana.org/assignments/media-types/application/dash+xml">registered</a> with
* the IANA.
*
* @since NEXT
*/
public static final MediaType MEDIA_PRESENTATION_DESCRIPTION =
createConstant(APPLICATION_TYPE, "dash+xml");

/**
* WASM applications. For more information see <a href="https://webassembly.org/">the Web Assembly
* overview</a>.
Expand Down

0 comments on commit 67dd062

Please sign in to comment.