Stanislav Dmitrenko
950bbe19da
ios: fix calls connecting state ( #3475 )
...
* ios: fix calls connecting state
* optimization
* changes
* removed relay protocol
* simplify
* use actor
* fix loop, better onChange, some questions
* remove extra iteration
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-27 22:20:51 +00:00
Stanislav Dmitrenko
2dc621a56c
mobile: keep screen on while playing/recording media ( #3317 )
...
* android: keep screen on while playing/recording media
* ios: keep screen on while playing/recording media
* different implementation on ios
* Revert "android: keep screen on while playing/recording media"
This reverts commit d291f006e9 .
* different implementation on android
* refactor
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-07 16:56:38 +00:00
Evgeny Poberezkin
063440e735
ios: remove sheets in ActiveCallView (does not work when call accepted from background via callkit)
2023-03-16 17:18:25 +00:00
Evgeny Poberezkin
809cc1f234
ios: different speaker buttons on call screen
2023-03-16 08:46:13 +00:00
Stanislav Dmitrenko
2643ea9066
ios: reverted some changes related to lockScreen ( #2011 )
...
* Revert "ios: CallKit enhancements (#2010 )"
This reverts commit 840df89ca6 .
* Revert "ios: CallKit integrated with app lock and screen protect (#2007 )"
This reverts commit 0404b020e6 .
* ios: reverted some changes related to lockScreen
* undo delay
* better support of appLock + call
* refactor
* refactor 2
* refactor 3
* refactor 4
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-15 21:09:33 +00:00
Stanislav Dmitrenko
840df89ca6
ios: CallKit enhancements ( #2010 )
...
* ios: CallKit enhancements
* better checks
2023-03-15 15:32:27 +00:00
Stanislav Dmitrenko
0404b020e6
ios: CallKit integrated with app lock and screen protect ( #2007 )
...
* ios: CallKit integrated with app lock and screen protect
* better lock mechanics
* background color
* logs
* refactor, revert auth changes
* additional state variable to allow connecting call
* fix lock screen, public logs
* show callkit option without dev tools
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-15 10:21:21 +00:00
Stanislav Dmitrenko
9ec6911005
ios: CallKit integration ( #1969 )
...
* ios: CallKit integration
* notifying CallKit about outgoing call
* changes
* switching calls with CallKit
* string
* add NSE filtering entitlement
* add NSE build scheme
* remove some call limitations
* calls enhancments
* fixed calls on lockscreen
* don't display useless notification
* fix app state
* ability to answer on call from chat item via CallKit
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-14 08:12:40 +00:00
Stanislav Dmitrenko
54020250dc
ios: native WebRTC ( #1933 )
...
* ios: native WebRTC
* add video showing
* make async function better working with main thread
* wrapped code in main actor, just in case
* small change
* a little better
* enable relay
* removed unused code
* allow switching calls
* testing
* enable encryption
* testing more
* another test
* one more test
* fix remote unencrypted video
* deleted unused code related to PixelBuffer
* added MediaEncryption playground
* better playground
* better playground
* fixes
* use new encryption api
* media encryption works
* small changes
* added lib dependency
* use commit reference for lib instead of version
* video format, PIP size
* remove sample.js
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-02 13:17:01 +00:00
sh
1eb1e52912
call.ts: include udp stun/turn ( #1892 )
...
* call.ts: include udp stun/turn
* update JS
* show protocol, support TURNS
* mobile: add turn via UDP, remove protocol from view
* remove enums for protocol strings in ICE candidates
* 0.2.3
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-02-05 21:57:50 +00:00
Evgeny Poberezkin
b435c0145f
Merge branch 'master' into ios-notifications
2022-06-02 12:39:51 +01:00
Evgeny Poberezkin
cd1af400bb
ios: remove callkit ( #720 )
...
* ios: remove callkit
* remove CallKit import
2022-06-02 12:10:41 +01:00
Evgeny Poberezkin
fa844c48e9
ios: SimpleXChat framework to be shared by app/NSE ( #714 )
...
* ios: SimpleXChat framework to be shared by app/NSE
* remove bridging headers from pp/NSE
* embed & sign
2022-05-31 07:55:13 +01:00
Evgeny Poberezkin
546ad01fcb
ios: integrating webrtc calls with callkit ( #686 )
...
* ios: integrating webrtc calls with callkit
* accept call via chat item (e.g. when DND is on, and callkit blocks the call); refactor
* fix remote video, support logging from ios
* use callkit depending on CallController setting
* call sound
* update incoming call view
* fixing audio encryption
* refactor encryption webrtc fix
* log ontrack success/error
* accept / ignore call via notification
* remove unused imports
* remove unused file
* remove comments
2022-05-24 19:34:27 +01:00
Evgeny Poberezkin
d971e7c31f
mobile: call chat items ( #680 )
...
* mobile: call chat items
* android: call chat items
2022-05-21 12:13:37 +01:00
Evgeny Poberezkin
b3e67efba0
mobile: fix statusbar in ios webrtc call, move PIP to top
2022-05-20 11:12:04 +01:00
Evgeny Poberezkin
9c9f6d8443
webrtc: show connection information, mark call as missed if it ends while pending ( #672 )
2022-05-20 07:43:44 +01:00
Evgeny Poberezkin
6cc4323571
webrtc: call overlays for ios/android, support for flipping camera ( #669 )
2022-05-19 14:33:02 +01:00
Evgeny Poberezkin
5f67c450b1
mobile: webrtc calls fix encryption status, translate alerts, report connection stats on connection ( #664 )
...
* mobile: webrtc calls fix encryption status, translate alerts, report connection stats on connection
* refactor, remove logger, make property into getter
2022-05-18 17:20:43 +01:00
Evgeny Poberezkin
29990765e7
mobile: webrtc calls state machine ( #606 )
...
* mobile: webrtc calls state machine
* android: call api types
* android: call api methods
* ios: connect calls via chat UI (WIP)
* ios: webrtc call connects via UI
* core: update call duration/status when x.call.end is received
* improve call UX/UI
* audio calls
* different overlay for audio calls
* toggle video/audio in the call
2022-05-07 09:40:46 +04:00