-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not finished yet
- Loading branch information
Showing
3 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
extractor/src/main/java/org/schabi/newpipe/extractor/stream/StreamResolvingStrategy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.schabi.newpipe.extractor.stream; | ||
|
||
/** | ||
* Defines what strategy of the extractor is used for playback. | ||
*/ | ||
public enum StreamResolvingStrategy { | ||
/** | ||
* Uses video streams (with no audio) and separate audio streams. | ||
* @see StreamExtractor#getVideoOnlyStreams() | ||
* @see StreamExtractor#getAudioStreams() | ||
*/ | ||
VIDEO_ONLY_AND_AUDIO_STREAMS, | ||
/** | ||
* Uses video streams that include audio data. | ||
* | ||
* @see StreamExtractor#getVideoStreams() | ||
*/ | ||
VIDEO_AUDIO_STREAMS, | ||
/** | ||
* Uses the HLS master playlist url. | ||
* | ||
* @see StreamExtractor#getHlsMasterPlaylistUrl() | ||
*/ | ||
HLS_MASTER_PLAYLIST_URL, | ||
/** | ||
* Uses the DASH MPD url. | ||
* | ||
* @see StreamExtractor#getDashMpdUrl() | ||
*/ | ||
DASH_MPD_URL | ||
} |