mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1023|reply: 3

code 400

[copyURL]

7

主题

26

帖子

89

积分

member

Rank: 2

积分
89
poston 2019-12-18 14:50 | 显示全部楼层 |阅读模式
这个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);
                        }
reply

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
poston 2019-12-18 15:07 | 显示全部楼层
网络不通、RTSP地址错误、没有网络权限这些
reply agree Against

使用道具 report

7

主题

26

帖子

89

积分

member

Rank: 2

积分
89
 Owner| poston 2019-12-18 15:30 | 显示全部楼层
你们真应该弄个文档,我这边是没有开通网络权限。两个app我都是中途接手,你们不先告知下要什么权限,这找原因怎么找得到。
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
poston 2019-12-18 16:22 | 显示全部楼层
alexanderjia post on2019-12-18 15:30
你们真应该弄个文档,我这边是没有开通网络权限。两个app我都是中途接手,你们不先告知下要什么权限,这找 ...

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

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-3-28 19:18 , Processed in 0.066409 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList