Update JavaDoc of VideoPlaybackResolver.getStreamSourceType()

This commit is contained in:
TiA4f8R 2022-02-20 19:35:58 +01:00
parent 8932adbf88
commit c5fc37150d
No known key found for this signature in database
GPG Key ID: E6D3E7F5949450DD
1 changed files with 3 additions and 4 deletions

View File

@ -131,11 +131,10 @@ public class VideoPlaybackResolver implements PlaybackResolver {
}
/**
* Determine if the last resolved {@link StreamInfo} had separated audio and video streams (or
* only audio).
* Returns the last resolved {@link StreamInfo}'s {@link SourceType source type}.
*
* @return {@link Optional#empty()} if nothing was resolved, otherwise {@code true} or
* {@code false}
* @return {@link Optional#empty()} if nothing was resolved, otherwise the {@link SourceType}
* of the last resolved {@link StreamInfo} inside an {@link Optional}
*/
public Optional<SourceType> getStreamSourceType() {
return Optional.ofNullable(streamSourceType);