Flush: Add javadoc for exception when no active stream.

PiperOrigin-RevId: 579225491
This commit is contained in:
huangdarwin 2023-11-03 10:25:57 -07:00 committed by Copybara-Service
parent 312203d38b
commit 229d9713a4

View File

@ -333,6 +333,8 @@ public interface VideoFrameProcessor {
*
* @throws UnsupportedOperationException If the {@code VideoFrameProcessor} does not accept
* {@linkplain #INPUT_TYPE_SURFACE surface input}.
* @throws IllegalStateException If {@link #registerInputStream} is not called before calling this
* method.
*/
void flush();