mobile CCTV,mobile surveillance,police body worn cameras

标题: code 400 [打印本页]

author: alexanderjia    time: 2019-12-18 14:50
标题: code 400
这个code是400失败有可能是什么原因导致的。可以给点思路吗?
PUCore.getSDK().getRTSPCam().setEventCallback(new RTSPCamCallback() {
            @Override
            public void OnEvent(int i, int i1, Object o) {
                switch (i) {
                    case IRTSPCam.RTSP_EVENT_OPEN: {
                        if (i1 == IRTSPCam.RTSP_RESULT_OK) {
                            PUCore.getSDK().getRTSPCam().play(false);
                            RTSPCam_StreamInfo info = (RTSPCam_StreamInfo) o;
                            Log.d("PUCore", "iWidth = " + info.iWidth + ",iHeight = " + info.iHeight);
                        }
author: xuwei    time: 2019-12-18 15:07
网络不通、RTSP地址错误、没有网络权限这些
author: alexanderjia    time: 2019-12-18 15:30
你们真应该弄个文档,我这边是没有开通网络权限。两个app我都是中途接手,你们不先告知下要什么权限,这找原因怎么找得到。
author: xuwei    time: 2019-12-18 16:22
alexanderjia post on2019-12-18 15:30
你们真应该弄个文档,我这边是没有开通网络权限。两个app我都是中途接手,你们不先告知下要什么权限,这找 ...

连接头盔用的RTSP协议属于网络通信协议,没有网络访问权限自然是无法连接的,另外demo中唯一申请的权限就是网络权限




欢迎光临 mobile CCTV,mobile surveillance,police body worn cameras (http://bbs.besovideo.com:8067/) Powered by Discuz! X3.2