RTCFileLogger: How to decode log file?

535 Views Asked by At

If you use RTCFileLogger or RTCPeerConnection's startRtcEventLogWithFilePath they both log data that seems to be encoded in some format that is not human readable:

    ∆äÚïï
‡“ÚïïZÃÆë∫
"øÃ˛ïï¢≤›”± (08@H
˝Ã˛ïï™≤›”±
›Õ˛ïï™≤›”±
"†Œ˛ïï¢≤›”± (08@H
"Åœ˛ïï¢≤›”± (08@H
ÇÃÅñï™≤›”±
¸ÃÅñï™≤›”±
ú Ññï™≤›”±
ÑÀÑñï™≤›”±
"ÉÀáñï¢˛Ãá¡ (08@H
∫Àáñï™˛Ãá¡
"«øçñûƒ» (08@H
¸øçñï™°ûƒ»
∏¿çñï™°ûƒ»
"˙∑êñï¢ıÿ؆ (08@H
¶∏êñï™ıÿ؆
Â∏êñï™ıÿ؆
"⁄±ìñÜÓÜ (08@H
î≤ìñÜÓÜ

How do you decode this data?

1

There are 1 best solutions below

0
On

I solved this by using RTCCallbackLogger instead of RTCFileLogger and logging the logs to file using another framework