Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Daniel Newton
2022-03-25 09:52:52 +1300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fb22818697a6aa2f86856b6ab18c6eebf8a1ccb9
fb228186
1 parent
db05d6f5
remove video size preference
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
lib/mobile_scanner_web_plugin.dart
lib/mobile_scanner_web_plugin.dart
View file @
fb22818
...
...
@@ -108,9 +108,7 @@ class MobileScannerWebPlugin {
if
(
capabilities
!=
null
&&
capabilities
[
'facingMode'
])
{
var
constraints
=
VideoOptions
(
facingMode:
(
cameraFacing
==
CameraFacing
.
front
?
'user'
:
'environment'
),
width:
{
'ideal'
:
4096
},
height:
{
'ideal'
:
2160
},
(
cameraFacing
==
CameraFacing
.
front
?
'user'
:
'environment'
)
);
_localStream
=
...
...
Please
register
or
login
to post a comment