Skip to content

Commit

Permalink
[YouTube] Generate DASH manifests of OTF streams and extract subtitle…
Browse files Browse the repository at this point in the history
…s for age-restricted videos
  • Loading branch information
AudricV committed Aug 5, 2021
1 parent 2042c07 commit f31a7b8
Show file tree
Hide file tree
Showing 6 changed files with 652 additions and 112 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.schabi.newpipe.extractor.services.youtube;

public class ContentAndItagItemAndIsUrl {
public String content;
public ItagItem itagItem;
public boolean isUrl;

public ContentAndItagItemAndIsUrl(final String content,
final ItagItem itagItem,
final boolean isUrl) {
this.content = content;
this.itagItem = itagItem;
this.isUrl = isUrl;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ public MediaFormat getMediaFormat() {

// Audio fields
public int avgBitrate = -1;
public int sampleRate = -1;

// Video fields
public String resolutionString;
Expand Down
Loading

0 comments on commit f31a7b8

Please sign in to comment.