Skip to main content

record_web 2.2.0 copy "record_web: ^2.2.0" to clipboard
record_web: ^2.2.0 copied to clipboard

Platformweb
unlisted

Web specific implementation for record package called by record_platform_interface.

record web #

Web specific implementation for record package called by record_platform_interface.

When sample rate is not supported natively, the package resamples the buffers in audio thread.

Tests #

Tests run in a real browser, so they need a WebDriver server. See https://docs.flutter.dev/testing/integration-tests#test-in-a-web-browser

If Chrome and chromedriver are already installed, skip to step 3.

  1. Install both in one command so their versions match. Always pass --path, or npx downloads them into the current folder.
npx @puppeteer/browsers install chrome@stable chromedriver@stable --path <dir>
  1. Note the two paths the command prints: each program lands in its own subfolder.

  2. Start the driver, on the port expected by flutter drive:

<path/to/chromedriver> --port=4444
  1. Run the tests:
flutter drive \
  --driver=test_driver/integration_test.dart \
  --target=integration_test/route_change_test.dart \
  -d web-server --browser-name=chrome \
  --chrome-binary=<path/to/chrome>

Omit --chrome-binary when Chrome is installed system-wide.

1
likes
160
points
1.61M
downloads

Documentation

API reference

Publisher

verified publishercow-level.ovh

Weekly Downloads

Web specific implementation for record package called by record_platform_interface.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, record_platform_interface, web

More

Packages that depend on record_web

Packages that implement record_web