我正在使用Linphone SDK構建安全的VoIP iOS應用程序。Linphone返回零ZRTP SAS(身份驗證令牌)
我成立了媒體加密權當應用程序啓動:
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。