mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix PQ Call Stats
This commit is contained in:
parent
c72d8913b8
commit
f7ad67390a
1 changed files with 3 additions and 3 deletions
|
|
@ -98,15 +98,15 @@ import linphonesw
|
|||
}
|
||||
videoStats.text = stats
|
||||
|
||||
if let lc = model.call.core {
|
||||
if let mediaEncryption = model.call.currentParams?.mediaEncryption {
|
||||
stats = ""
|
||||
switch (lc.mediaEncryption) {
|
||||
switch (mediaEncryption) {
|
||||
case MediaEncryption.None: stats += "\nNone"
|
||||
case MediaEncryption.SRTP: stats += "\nSRTP"
|
||||
case MediaEncryption.DTLS: stats += "\nDTLS"
|
||||
case MediaEncryption.ZRTP:
|
||||
if let callstats = model.call.audioStats {
|
||||
stats += (model.call.audioStats?.isZrtpKeyAgreementAlgoPostQuantum ?? false) ?"\nZRTP" : "\nPost Quantum ZRTP"
|
||||
stats += callstats.isZrtpKeyAgreementAlgoPostQuantum ? "\nPost Quantum ZRTP" : "\nZRTP"
|
||||
stats += "\nCipher algorithm: \(callstats.zrtpCipherAlgo)"
|
||||
stats += "\nKey agreement algorithm: \(callstats.zrtpKeyAgreementAlgo)"
|
||||
stats += "\nHash algorithm: \(callstats.zrtpHashAlgo)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue