fix: ensure CallStats JSON fields are converted to strings (looking at you, iOS)

This commit is contained in:
Andrew 2026-05-06 23:49:02 +07:00
parent d421c46a71
commit d0ccf08e05

View file

@ -174,7 +174,7 @@ class CallStats {
json["fecDownloadBandwidth"],
json["fecRepairedPacketsNumber"],
json["fecUploadBandwidth"],
json["iceState"],
json["iceState"].toString(),
json["jitterBufferSizeMs"],
json["latePacketsCumulativeNumber"],
json["localLateRate"],
@ -193,15 +193,15 @@ class CallStats {
json["rtpSent"],
json["senderInterarrivalJitter"],
json["senderLossRate"],
json["srtpSource"],
json["srtpSuite"],
json["srtpSource"].toString(),
json["srtpSuite"].toString(),
json["uploadBandwidth"],
json["upnpState"],
json["zrtpAuthTagAlgo"],
json["zrtpCipherAlgo"],
json["zrtpHashAlgo"],
json["zrtpKeyAgreementAlgo"],
json["zrtpSasAlgo"],
json["upnpState"].toString(),
json["zrtpAuthTagAlgo"].toString(),
json["zrtpCipherAlgo"].toString(),
json["zrtpHashAlgo"].toString(),
json["zrtpKeyAgreementAlgo"].toString(),
json["zrtpSasAlgo"].toString(),
json["isZrtpKeyAgreementAlgoPostQuantum"],
);