I'm building a secure VoIP iOS app using the Linphone SDK.
I set up media encryption right when the app starts:
linphone_core_set_media_encryption(theLinphone.lc, LinphoneMediaEncryptionZRTP)
And I am trying to retrieve the SAS like this:
linphone_call_get_authentication_token(Call.current())
Most times it returns nil. But once in a while it returns a Hexadecimal value like 0x35422f6e6f697461
I even get this log:
ortp-message-ZRTP secrets on: SAS is xxxx previously verified no
being "xxxx" the correct SAS.