More strongly discourage use of DebugSurfaceView
This was always intended as a debug API only, but its inclusion in media3.common and public visibility has led to partners sometimes experimenting with this API and complaining when it doesn't work as expected. PiperOrigin-RevId: 624158798
This commit is contained in:
parent
f13c879cd0
commit
25e99af9e7
@ -19,7 +19,11 @@ import android.view.SurfaceView;
|
|||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.media3.common.util.UnstableApi;
|
import androidx.media3.common.util.UnstableApi;
|
||||||
|
|
||||||
/** Provider for views to show diagnostic information during an export, for debugging. */
|
/**
|
||||||
|
* Provider for views to show diagnostic information during an export, for debugging.
|
||||||
|
*
|
||||||
|
* <p>This is not intended for production use-cases.
|
||||||
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public interface DebugViewProvider {
|
public interface DebugViewProvider {
|
||||||
|
|
||||||
|
@ -81,7 +81,8 @@ public interface VideoFrameProcessor {
|
|||||||
* Creates a new {@link VideoFrameProcessor} instance.
|
* Creates a new {@link VideoFrameProcessor} instance.
|
||||||
*
|
*
|
||||||
* @param context A {@link Context}.
|
* @param context A {@link Context}.
|
||||||
* @param debugViewProvider A {@link DebugViewProvider}.
|
* @param debugViewProvider A {@link DebugViewProvider}. In production usage, pass {@link
|
||||||
|
* DebugViewProvider#NONE}.
|
||||||
* @param outputColorInfo The {@link ColorInfo} for the output frames.
|
* @param outputColorInfo The {@link ColorInfo} for the output frames.
|
||||||
* @param renderFramesAutomatically If {@code true}, the instance will render output frames to
|
* @param renderFramesAutomatically If {@code true}, the instance will render output frames to
|
||||||
* the {@linkplain #setOutputSurfaceInfo(SurfaceInfo) output surface} automatically as
|
* the {@linkplain #setOutputSurfaceInfo(SurfaceInfo) output surface} automatically as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user