Change PJ_ACTIVESOCK_TCP_IPHONE_OS_BG default to 0, because app gets killed on iOS 16 when using VoIP socket. (#3253)

remotes/origin/ip-change-early
Nanang Izzuddin 2 years ago committed by GitHub
parent e4a8d0ad9c
commit edb884c713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -200,8 +200,11 @@
# ifdef __IPHONE_4_0
/* Is multitasking support available? (see ticket #1107) */
# define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 1
/* Enable activesock TCP background mode support */
# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 1
/* Activesock TCP background mode support (VoIP socket).
* Disabled by default, VoIP socket deprecated since iOS 9 and
* on iOS16 using VoIP socket causes app getting killed.
*/
# define PJ_ACTIVESOCK_TCP_IPHONE_OS_BG 0
# endif
# endif
#endif

Loading…
Cancel
Save