Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
a4212836
Commit
a4212836
authored
4 years ago
by
Pierre Duchemin
Committed by
Adrien Béraud
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
call: unlock 720p for 32 bits devices with hardware acceleration
Change-Id: I468c655a327ed6fa06997f0c6dd204de9691af07 Gitlab:
#747
parent
4cbbd0d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ring-android/app/src/main/java/cx/ring/services/HardwareServiceImpl.java
+1
-1
1 addition, 1 deletion
...p/src/main/java/cx/ring/services/HardwareServiceImpl.java
with
1 addition
and
1 deletion
ring-android/app/src/main/java/cx/ring/services/HardwareServiceImpl.java
+
1
−
1
View file @
a4212836
...
...
@@ -410,7 +410,7 @@ public class HardwareServiceImpl extends HardwareService implements AudioManager
@Override
public
void
getCameraInfo
(
String
camId
,
IntVect
formats
,
UintVect
sizes
,
UintVect
rates
)
{
// Use a larger resolution for Android 6.0+, 64 bits devices
final
boolean
useLargerSize
=
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
M
&&
Build
.
SUPPORTED_64_BIT_ABIS
.
length
>
0
;
final
boolean
useLargerSize
=
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
M
&&
(
Build
.
SUPPORTED_64_BIT_ABIS
.
length
>
0
||
mPreferenceService
.
isHardwareAccelerationEnabled
())
;
//int MIN_WIDTH = useLargerSize ? (useHD ? VIDEO_WIDTH_HD : VIDEO_WIDTH) : VIDEO_WIDTH_MIN;
Point
minVideoSize
;
if
(
useLargerSize
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment