startCamera method

  1. @override
Future<int?> startCamera({
  1. double quality = 1.0,
  2. String facing = 'back',
  3. String aspectRatio = '3:4',
})
override

Starts the camera with the specified configuration.

Implementation

@override
Future<int?> startCamera({
  double quality = 1.0,
  String facing = 'back',
  String aspectRatio = '3:4',
}) async {
  // Basic web implementation would use getUserMedia and VideoElement.
  // For now, return a placeholder texture ID or throw Unimplemented.
  return 0;
}