我正在使用 Linphone SDK 构建一个安全的 VoIP iOS 应用程序。
我在应用程序启动时设置了媒体加密:
linphone_core_set_media_encryption(theLinphone.lc, LinphoneMediaEncryptionZRTP)
我正在尝试像这样检索 SAS:
linphone_call_get_authentication_token(Call.current())
大多数时候它返回零。但有时它会返回一个十六进制值,例如0x35422f6e6f697461
我什至得到了这个日志:
ortp-message-ZRTP secrets on: SAS is xxxx previously verified no
成为“xxxx”正确的 SAS。