- Source:
Members
(private, static, constant, non-null) EXTENDED_MIME_PARAMETERS_ :Object.<string, string>
A map from Stream object keys to MIME type parameters. These should be
ignored by platforms that do not recognize them.
This initial set of parameters are all recognized by Chromecast.
Type:
- Object.<string, string>
- Source:
Methods
(static) getExtendedType(stream) → {string}
Takes a Stream object and produces an extended MIME type with information
beyond the container and codec type, when available.
Parameters:
Name | Type | Description |
---|---|---|
stream |
shaka.extern.Stream |
- Source:
Returns:
- Type
- string
(static) getFullType(mimeType, codecsopt) → {string}
Takes a MIME type and optional codecs string and produces the full MIME type.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
mimeType |
string | ||
codecs |
string |
<optional> |
- Source:
Returns:
- Type
- string