mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: eviicam
打印 prevThread nextThread

SDK的认证和上传的接口

[copyURL]

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
11#
 Owner| poston 2017-6-8 09:42 | authorOnly
rtsp的服务器地址和端口如何设置在SDK中设置,请帮助提供一下目前贵司演示用的服务器地址和端口,我们这边测试用。谢谢!
reply agree Against

使用道具 report

60

主题

1413

帖子

5805

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5805
12#
poston 2017-6-8 09:46 | authorOnly
其实,您可自建smarteye server来测试,可在局域网搭建测试。我们的服务器都是在阿里云上的,是公网的。此外,我们的协议也不是RTPS的,我们是基于SIP+RTP的私有协议的框架。

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
13#
 Owner| poston 2017-6-8 11:18 | authorOnly
能否提供一下你们现有服务器的地址和端口
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
14#
 Owner| poston 2017-6-8 11:19 | authorOnly
图片更新看到的较慢,刚刚看到,谢谢
reply agree Against

使用道具 report

60

主题

1413

帖子

5805

积分

Moderator

Rank: 7Rank: 7Rank: 7

积分
5805
15#
poston 2017-6-8 14:05 | authorOnly
自建服务器,设备-服务器-客户端全部自己的,就与我们完全无关了。(参见FAQ-2)
http://www.besovideo.com/chn/articles/WVS_faq_2.asp
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
16#
 Owner| poston 2017-6-8 18:34 | authorOnly
请问,手机端从警务仪获取的视频流怎么通过MPU的SDK推送到RTSP服务器,是否有相应的API,如果有,可以说明一下相关的文件或接口吗?
是否有类似sendVideoBuffer、sendAudioBuffer这样的api?
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
17#
 Owner| poston 2017-6-9 11:40 | authorOnly
认证参数呢:
BillTool: {"stEntity":{"iAPILevel":22,"iDensityDpi":640,"iHeightPixels":2560,"iWidthPixels":1440,"szAndroidID":"bded7a94f37d32fd","szBoard":"universal7420","szBrand":"samsung","szBuildTime":"1442634933000","szDeviceID":"990005788241959","szFingerPrint":"samsung/zerofltespr/zerofltespr:5.1.1/LMY47X/G920PVPU3BOI1:user/release-keys","szHardware":"samsungexynos7420","szMacAddress":"90:B6:86:84:97:42","szModel":"SM-G920P","szRadio":"G920PVPU3BOL1"},"szLicense":"F88291D8-E4AD-45E7-8B79-B081E93BB586","szPath":"/storage/emulated/0"}

错误log:
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 6584 (Thread-7774)


我调用BVPU.Auth(getApplicationContext(), json);报libc error。下边是我的写法,请问哪里有问题?


        BVPU.InitCoreSDK();
        BVPU.setMessageEvent(this);
        BVPU.Initialize();


        JNIMessage message = new JNIMessage();
        message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_ID.getName(),"mpu.start");
        BVPU.PostMessageToNative(message);

        new Thread(new Runnable() {
            @Override
            public void run() {
                packBillEntity();
                Gson gson = new Gson();
                String json = gson.toJson(billEntity, BillEntity.class);
                Log.i("BillTool", json);
                BVPU.Auth(getApplicationContext(),json);

                //loginMPU();
            }
        }).start();
reply agree Against

使用道具 report

0

主题

24

帖子

98

积分

member

Rank: 2

积分
98
18#
poston 2017-6-9 13:06 | authorOnly
贴的代码上没看出啥问题,麻烦提供下底层库的崩溃日志以便排查问题
reply agree Against

使用道具 report

1

主题

49

帖子

129

积分

member

Rank: 2

积分
129
19#
 Owner| poston 2017-6-9 13:14 | authorOnly
找到问题了,一个参数没有传导致的,认证成功后的动作是login Server,对吗?

如果login成功了,是不是就可以使用 InputVideoData 和 InputAudioData 这2个native api向服务器推流呢?

谢谢~
reply agree Against

使用道具 report

0

主题

24

帖子

98

积分

member

Rank: 2

积分
98
20#
poston 2017-6-9 13:26 | authorOnly
这两个api只是负责把流发送到native层,不会向服务器推流,收到客户端发送的音视频请求后才会把流发送出去
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 03:01 , Processed in 0.062496 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList