startWeb method

  1. @override
void startWeb(
  1. MediaStream stream, {
  2. dynamic onDataChunk(
    1. dynamic blob,
    2. bool isLastOne
    )?,
  3. String? mimeType,
  4. int timeSlice = 1000,
})

Only for Flutter Web

Implementation

@override
void startWeb(
  MediaStream stream, {
  Function(dynamic blob, bool isLastOne)? onDataChunk,
  String? mimeType,
  int timeSlice = 1000,
}) =>
    _delegate.startWeb(
      stream,
      onDataChunk: onDataChunk,
      mimeType: mimeType ?? 'video/webm',
      timeSlice: timeSlice,
    );