Skip to content

Commit e39ce8e

Browse files
committed
[YouTube] Generate DASH manifests of OTF streams and extract subtitles for age-restricted videos
1 parent 2042c07 commit e39ce8e

6 files changed

Lines changed: 652 additions & 112 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.schabi.newpipe.extractor.services.youtube;
2+
3+
public class ContentAndItagItemAndIsUrl {
4+
public String content;
5+
public ItagItem itagItem;
6+
public boolean isUrl;
7+
8+
public ContentAndItagItemAndIsUrl(final String content,
9+
final ItagItem itagItem,
10+
final boolean isUrl) {
11+
this.content = content;
12+
this.itagItem = itagItem;
13+
this.isUrl = isUrl;
14+
}
15+
}

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/ItagItem.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ public MediaFormat getMediaFormat() {
162162

163163
// Audio fields
164164
public int avgBitrate = -1;
165+
public int sampleRate = -1;
165166

166167
// Video fields
167168
public String resolutionString;

0 commit comments

Comments
 (0)