get Suggested Stream Specifications
Finds the suggested stream specification of the newly added UseCaseConfig.
Return
a SurfaceStreamSpecQueryResult.
Parameters
the working camera mode.
the existing surfaces.
newly added UseCaseConfig to supported output sizes map.
the video stabilization mode.
whether the use cases has video capture.
whether the code flow involves CameraX feature combo API (e.g. androidx.camera.core.SessionConfig.requiredFeatureGroup).
whether to find the max supported frame rate. If this is true, the target frame rate settings will be ignored. If false, the returned value of SurfaceStreamSpecQueryResult.maxSupportedFrameRate is undetermined.
Throws
if the suggested solution for newUseCaseConfigs cannot be found. This may be due to no available output size or no available surface combination.