VideoEncoderConfigCamcorderProfileResolver

@RequiresApi(21) open class VideoEncoderConfigCamcorderProfileResolver : Supplier<VideoEncoderConfig!>
kotlin.Any
   ↳ androidx.camera.video.internal.config.VideoEncoderConfigCamcorderProfileResolver

A VideoEncoderConfig supplier that resolves requested encoder settings from a VideoSpec for the given surface Size using the provided CamcorderProfileProxy.

Summary

Public constructors
VideoEncoderConfigCamcorderProfileResolver(@NonNull mimeType: String, @NonNull videoSpec: VideoSpec, @NonNull surfaceSize: Size, @NonNull camcorderProfile: CamcorderProfileProxy)

Constructor for a VideoEncoderConfigCamcorderProfileResolver.

Public methods
open VideoEncoderConfig
get()

Public constructors

VideoEncoderConfigCamcorderProfileResolver

VideoEncoderConfigCamcorderProfileResolver(
    @NonNull mimeType: String,
    @NonNull videoSpec: VideoSpec,
    @NonNull surfaceSize: Size,
    @NonNull camcorderProfile: CamcorderProfileProxy)

Constructor for a VideoEncoderConfigCamcorderProfileResolver.

Parameters
mimeType String: The mime type for the video encoder
videoSpec VideoSpec: The VideoSpec which defines the settings that should be used with the video encoder.
surfaceSize Size: The size of the surface required by the camera for the video encoder.
camcorderProfile CamcorderProfileProxy: The CamcorderProfileProxy used to resolve automatic and range settings.

Public methods

get

@NonNull open fun get(): VideoEncoderConfig