Merge pull request #199 from kapodamy/yt-webm-opus
use webm as format for opus audio streams
This commit is contained in:
commit
b6d3252290
|
@ -38,6 +38,7 @@ public enum MediaFormat {
|
|||
MP3 (0x300, "MP3", "mp3", "audio/mpeg"),
|
||||
OPUS (0x400, "opus", "opus", "audio/opus"),
|
||||
OGG (0x500, "ogg", "ogg", "audio/ogg"),
|
||||
WEBMA_OPUS (0x200, "WebM Opus", "webm", "audio/webm"),
|
||||
// subtitles formats
|
||||
VTT (0x1000, "WebVTT", "vtt", "text/vtt"),
|
||||
TTML (0x2000, "Timed Text Markup Language", "ttml", "application/ttml+xml"),
|
||||
|
|
|
@ -39,9 +39,9 @@ public class ItagItem {
|
|||
new ItagItem(139, AUDIO, M4A, 48),
|
||||
new ItagItem(140, AUDIO, M4A, 128),
|
||||
new ItagItem(141, AUDIO, M4A, 256),
|
||||
new ItagItem(249, AUDIO, OPUS, 50),
|
||||
new ItagItem(250, AUDIO, OPUS, 70),
|
||||
new ItagItem(251, AUDIO, OPUS, 160),
|
||||
new ItagItem(249, AUDIO, WEBMA_OPUS, 50),
|
||||
new ItagItem(250, AUDIO, WEBMA_OPUS, 70),
|
||||
new ItagItem(251, AUDIO, WEBMA_OPUS, 160),
|
||||
|
||||
/// VIDEO ONLY ////////////////////////////////////////////
|
||||
// ID Type Format Resolution FPS ///
|
||||
|
|
Loading…
Reference in New Issue