Skip to content

Commit 4db1863

Browse files
committed
docs: removed "Streaming of frames" from Missing implementation
1 parent 6a8c5db commit 4db1863

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

packages/camera/camera_web/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The web implementation of [`camera`][camera].
44

5-
*Note*: This plugin is under development. See [missing implementation](#missing-implementation).
5+
_Note_: This plugin is under development. See [missing implementation](#missing-implementation).
66

77
## Usage
88

@@ -46,7 +46,7 @@ For the browsers that do not support the device orientation:
4646

4747
- `CameraPlatform.onDeviceOrientationChanged` returns an empty stream.
4848
- `CameraPlatform.lockCaptureOrientation` and `CameraPlatform.unlockCaptureOrientation`
49-
throw a `PlatformException` with the `orientationNotSupported` error code.
49+
throw a `PlatformException` with the `orientationNotSupported` error code.
5050

5151
### Flash mode and zoom level
5252

@@ -58,13 +58,13 @@ with the following [browser support](https://caniuse.com/mdn-api_imagecapture):
5858
For the browsers that do not support the flash mode:
5959

6060
- `CameraPlatform.setFlashMode` throws a `PlatformException` with the
61-
`torchModeNotSupported` error code.
61+
`torchModeNotSupported` error code.
6262

6363
For the browsers that do not support the zoom level:
6464

6565
- `CameraPlatform.getMaxZoomLevel`, `CameraPlatform.getMinZoomLevel` and
66-
`CameraPlatform.setZoomLevel` throw a `PlatformException` with the
67-
`zoomLevelNotSupported` error code.
66+
`CameraPlatform.setZoomLevel` throw a `PlatformException` with the
67+
`zoomLevelNotSupported` error code.
6868

6969
### Taking a picture
7070

@@ -81,6 +81,7 @@ URL pointing to a location within the browser (blob) and can be displayed using
8181
See the example below:
8282

8383
<?code-excerpt "example/lib/readme_excerpts.dart (ImageFromXFile)"?>
84+
8485
```dart
8586
final Image image;
8687
if (kIsWeb) {
@@ -97,22 +98,25 @@ The video recording implementation is backed by [MediaRecorder Web API](https://
9798
![Data on support for the MediaRecorder feature across the major browsers from caniuse.com](https://caniuse.bitsofco.de/image/mediarecorder.png).
9899

99100
A video is recorded in one of the following video MIME types:
101+
100102
- video/webm (e.g. on Chrome or Firefox)
101103
- video/mp4 (e.g. on Safari)
102104

103105
Pausing, resuming or stopping the video recording throws a `PlatformException` with the `videoRecordingNotStarted` error code if the video recording was not started.
104106

105107
For the browsers that do not support the video recording:
108+
106109
- `CameraPlatform.startVideoRecording` throws a `PlatformException` with the `notSupported` error code.
107110

108111
## Missing implementation
109112

110113
The web implementation of [`camera`][camera] is missing the following features:
114+
111115
- Exposure mode, point and offset
112116
- Focus mode and point
113117
- Sensor orientation
114118
- Image format group
115-
- Streaming of frames
116119

117120
<!-- Links -->
121+
118122
[camera]: https://pub.dev/packages/camera

0 commit comments

Comments
 (0)