[camera] Source code refactoring (#31)

Changes:
* Source code refactoring
* Add temporary code for camera image stream APIs
This commit is contained in:
Hidenori Matsubayashi
2021-08-17 17:49:36 +09:00
committed by GitHub
parent 736eb878ee
commit 34feab80cc
11 changed files with 173 additions and 71 deletions
+3 -2
View File
@@ -34,7 +34,7 @@ Import `camera` in your Dart code:
import 'package:camera/camera.dart';
```
## Troubleshoting
## Troubleshooting
If you get the following error:
```Shell
@@ -43,5 +43,6 @@ Wrong JPEG library version: library is 62, caller expects 80
, try the following:
```Shell
sudo mv /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpeg.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpeg.so.org
sudo mv /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpeg.so \
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpeg.so.org
```