-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用flutter在安卓上开发遇到问题,随附log #50
Comments
|
麻烦参考 |
|
|
我自己分析了一下,应该是下面的原因
也就是android.permission.RECORD_AUDIO。但是目前有几个情况。
如果是需要动态获取权限,我的手机上也明确直接通过系统设置给了录音授权。
我这是一个只需要看和听,不需要录音录像的业务。 quick start的代码我这边编译不了,所以只能这样抓日志了。辛苦同事看一下。谢谢了 |
手动给了权限以后是这样,但是onConnectionStateChanged和onJoinChannelSuccess仍然没有得到正确的回调
|
下面是给了全部权限的日志(其实我不需要用本地摄像头和录音的,但是感觉被强制要求了)。
|
在线等,挺急的 |
@wildfire810 |
我用了flutter申请权限的库,也在系统里确认了权限。 |
我看你的日志已经不是权限问题了,是加入频道失败,你可以看一下 |
谢谢。token等都是处理了的。我是写好了windows的推流客户端才过来写flutter的。基本上进入频道的坑都踩过(win那边的坑多得很,到现在还有几个根本没法解决的问题)。我再抓日志琢磨琢磨。 |
有空还是换4G网络看一下,如果token都没问题,还是怀疑网络关闭了一些端口 |
有可能是运营商的问题。今天我再测试就能进入下一步了。 |
我们应该支持IPV6的 |
请问最后是怎么解决的呢? |
@d1bug 这边是遇到什么问题了吗? |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue. |
我觉得核心问题在这里,但是没有更详细的信息了。有什么办法能一起查查吗?谢谢
12-09 13:19:52.787: E/RtcEngine(10007): onEvent: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.Object java.util.HashMap.put(java.lang.Object, java.lang.Object)’ on a null object reference
这边不方便上传文件,我传到官方论坛了。
https://rtcdeveloper.com/t/topic/16463
The text was updated successfully, but these errors were encountered: