Geolocator似乎阻止了网络访问 [英] Geolocator seems to block network access

查看:74
本文介绍了Geolocator似乎阻止了网络访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的视频会议应用程序中,网络访问似乎被关闭了大约几秒钟.仅在订阅Geolocator的StatusChanged/PositionChanged时每15秒;否则工作正常.当我们尝试将延迟保持在1秒以下时,连接断开 每15秒持续几秒钟真的很痛.这与wifi是位置来源之一有关吗?是否有其他方法可以像其他平台上那样选择要使用的位置源? 

In our video conferencing app network access seems to get shut down for a couple of sec approx. every 15 sec ONLY when subscribed to Geolocator's StatusChanged/PositionChanged; works fine otherwise. As we try to keep latency under 1 sec, losing connectivity for a couple of sec every 15 sec really hurts. Does this have anything to do with wifi being one of location sources? Is there any way to select (a) location source(s) to use, like on other platforms? 

推荐答案

视频会议应用程序?您是在使用geo来避免陷入困境还是允许您的应用在后台运行?

What's the need for geolocate with a video conference application? Are you using geo to sidestep getting tomestoned or allowing your app to run in the background?

您可以更改所需精度的设置(考虑将其降低为0)和报告间隔(考虑将其提高).

You can change the settings for desiredaccuracy (think about lowering it to 0) and reportinterval (think about increasing it).


这篇关于Geolocator似乎阻止了网络访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆