Update JavaDoc of VideoPlaybackResolver.getStreamSourceType()
This commit is contained in:
parent
8932adbf88
commit
c5fc37150d
|
@ -131,11 +131,10 @@ public class VideoPlaybackResolver implements PlaybackResolver {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the last resolved {@link StreamInfo} had separated audio and video streams (or
|
* Returns the last resolved {@link StreamInfo}'s {@link SourceType source type}.
|
||||||
* only audio).
|
|
||||||
*
|
*
|
||||||
* @return {@link Optional#empty()} if nothing was resolved, otherwise {@code true} or
|
* @return {@link Optional#empty()} if nothing was resolved, otherwise the {@link SourceType}
|
||||||
* {@code false}
|
* of the last resolved {@link StreamInfo} inside an {@link Optional}
|
||||||
*/
|
*/
|
||||||
public Optional<SourceType> getStreamSourceType() {
|
public Optional<SourceType> getStreamSourceType() {
|
||||||
return Optional.ofNullable(streamSourceType);
|
return Optional.ofNullable(streamSourceType);
|
||||||
|
|
Loading…
Reference in New Issue