Closed andrew-delph closed 1 year ago
Future.delayed(Duration(seconds: 3)).then((value) async { ByteBuffer? buffer = await localMediaStream()?.getVideoTracks().first.captureFrame(); if (buffer != null) { print("buffer: $buffer"); var imageBytes = buffer.asUint8List(); String base64Image = base64.encode(imageBytes); print("${base64Image}"); } });