Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-client-ios
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
27
Issues
27
List
Boards
Labels
Milestones
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-client-ios
Commits
baa2dba7
Commit
baa2dba7
authored
Apr 15, 2019
by
Kateryna Kostiuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video: enable hardware acceleration by default
Change-Id: I5f5c33ec4ee319b97988f323ac858f8bb4f634df
parent
b446f012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Ring/Ring/AppDelegate.swift
Ring/Ring/AppDelegate.swift
+1
-1
No files found.
Ring/Ring/AppDelegate.swift
View file @
baa2dba7
...
...
@@ -228,7 +228,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
// we want enable hardware acceleration by default so if key does not exists,
// means it was not disabled by user
let
keyExists
=
UserDefaults
.
standard
.
object
(
forKey
:
hardareAccelerationKey
)
!=
nil
let
enable
=
keyExists
?
UserDefaults
.
standard
.
bool
(
forKey
:
hardareAccelerationKey
)
:
fals
e
let
enable
=
keyExists
?
UserDefaults
.
standard
.
bool
(
forKey
:
hardareAccelerationKey
)
:
tru
e
self
.
videoService
.
setDecodingAccelerated
(
withState
:
enable
)
self
.
videoService
.
setEncodingAccelerated
(
withState
:
enable
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment