V0.1.7 (#5)
* save url when connected and allow toggling connection on app start (#2) * mask ip in logs, reduce keep-alive logs frequency * update comment about debug link, migrate prefs to ktx * auto-connect for telemost * fix ice ipv6 resolving * auto-connect for vk * refactor hooks names * regenerate android resources * remove stale telemost dc * kick disconnected user from vk, refactor relay on mobile client, prevent double hook injection * refactor constants * set low importance for notification to avoid signals * stop vpn/relay at app destroy, reset state at vpn disconnect * prevent vk session close at video tunnel * kick disconnected user from vk, refactor relay on mobile client, prevent double hook injection * multiple tabs/calls, write android logs in file * update ux, fix fd lifecycle in tun2socks * increment release version --------- Co-authored-by: HukuToc2288 <hukutoc2288@yandex.ru> Co-authored-by: kulikov <user@Mac.lan>
This commit is contained in:
1 parent
e8da07179a
commit
84da73c324
52 files changed
+1510
-479
No files matched your search
+2
-1
@@ -67,6 +67,7 @@ func (c *VKClient) handleICEServers(data json.RawMessage) {
|
||||
if c.pc != nil {
|
||||
return
|
||||
}
|
||||
iceLogFn = c.logFn
|
||||
iceServers, err := ParseICEServers(data)
|
||||
if err != nil {
|
||||
return
|
||||
@@ -110,7 +111,7 @@ func (c *VKClient) handleICEServers(data json.RawMessage) {
|
||||
c.logFn("vk: ICE gathering complete (nil candidate)")
|
||||
return
|
||||
}
|
||||
c.logFn("vk: ICE candidate: type=%s protocol=%s address=%s", cand.Typ.String(), cand.Protocol.String(), cand.Address)
|
||||
c.logFn("vk: ICE candidate: type=%s protocol=%s address=%s", cand.Typ.String(), cand.Protocol.String(), maskAddr(cand.Address))
|
||||
c.SendToHook("ice-candidate", cand.ToJSON())
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user