From 9af07a25620edf38211a7caf71b9288bb0ea6370 Mon Sep 17 00:00:00 2001 From: Bleuzen Date: Tue, 24 Jul 2018 17:25:42 +0200 Subject: [PATCH] re-enable opus --- .../schabi/newpipe/extractor/services/youtube/ItagItem.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/ItagItem.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/ItagItem.java index 3be29c981..ba40c2dd5 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/ItagItem.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/ItagItem.java @@ -34,10 +34,6 @@ public class ItagItem { //////////////////////////////////////////////////////////////////// // AUDIO ID ItagType Format Bitrate /// ////////////////////////////////////////////////////////////////// - // Disable Opus codec as it's not well supported in older devices -// new ItagItem(249, AUDIO, WEBMA, 50), -// new ItagItem(250, AUDIO, WEBMA, 70), -// new ItagItem(251, AUDIO, WEBMA, 160), new ItagItem(171, AUDIO, WEBMA, 128), new ItagItem(172, AUDIO, WEBMA, 256), new ItagItem(139, AUDIO, M4A, 48), @@ -45,7 +41,7 @@ public class ItagItem { new ItagItem(141, AUDIO, M4A, 256), new ItagItem(249, AUDIO, OPUS, 50), new ItagItem(250, AUDIO, OPUS, 70), - new ItagItem(160, AUDIO, OPUS, 160), + new ItagItem(251, AUDIO, OPUS, 160), /// VIDEO ONLY //////////////////////////////////////////// // ID Type Format Resolution FPS ///