We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8932adb commit c5fc371Copy full SHA for c5fc371
1 file changed
app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java
@@ -131,11 +131,10 @@ public MediaSource resolve(@NonNull final StreamInfo info) {
131
}
132
133
/**
134
- * Determine if the last resolved {@link StreamInfo} had separated audio and video streams (or
135
- * only audio).
+ * Returns the last resolved {@link StreamInfo}'s {@link SourceType source type}.
136
*
137
- * @return {@link Optional#empty()} if nothing was resolved, otherwise {@code true} or
138
- * {@code false}
+ * @return {@link Optional#empty()} if nothing was resolved, otherwise the {@link SourceType}
+ * of the last resolved {@link StreamInfo} inside an {@link Optional}
139
*/
140
public Optional<SourceType> getStreamSourceType() {
141
return Optional.ofNullable(streamSourceType);
0 commit comments