mobile CCTV,mobile surveillance,police body worn cameras

标题: integrating SmartEye system to our Solutions [打印本页]

author: thoyyib    time: 2020-3-19 10:50
标题: integrating SmartEye system to our Solutions
We have started integrating SmartEye system to our Solutions and complete many integrated functions
My team is currently stuck with three issues related to Group PTT feature;
Could you guide us to the API code or SDK that can help us to better understand how to work with the Chat features?
We could not find any reliable sample from the SDK to understand how the Chat feature works



author: coldflame    time: 2020-3-19 11:20
dear tony,
let me give a reply to question 2)&3).there are search interface for both group talk&p2p chat in C/S client software (smarteye client/monitor) but none in WEB SDK yet,
will work on that,need some time.




author: jsb    time: 2020-3-19 11:22
for question 1)
1.The demo of receiveing message sent from Camera MCP App User to Web App or Software User, can find in the third snapshot you posted.that's the WEB SDK demo for this function, maybe some Chinese display cuases confusion,





author: thoyyib    time: 2020-3-19 15:53

Thank you.
We will check the C/S client software and SDK. Is the P2P and Chat data stored in a local database in SmartEye Server?
I understand this system uses MySQL database. Will it be possible for us to access the MySQL database?

Tony

author: besovideo    time: 2020-3-19 16:37
yes, all in mysql 5.7, will email you about this.
author: thoyyib    time: 2020-3-25 17:07
Hi,
Is there any sample code or API to help us develop Push-to-Talk (PTT) functions in Web App.
We tried the samples in Web SDK to allow Web Browser to access Microphone and Speaker of the computer so user can push a button in the Web App and PPT/Communicate with the Users in the Meeting Group.

Unfortunately the Web SDK seems to be incomplete and nothing happens when Microphone button is clicked. Also we cannot hear the Audio messages sent from Camera from Web App.

Tony[attach]2287[/attach]

[attach]2288[/attach]

author: besovideo    time: 2020-3-25 17:31
pls note, https(9443 port) must be employed to enable MIC,
and pls enable MIC in chrome settings.

author: thoyyib    time: 2020-3-26 19:20
besovideo post on2020-3-25 17:31
pls note, https(9443 port) must be employed to enable MIC,
and pls enable MIC in chrome settings.

Thank you. This is very helpful
author: thoyyib    time: 2020-3-26 19:24
Hi,

Is there a way we can do point-to-point audio call with a Camera User via Web App?
I don't see any features or samples in the SmartEye Web API or SDK to do point-to-point audio call with a user.
If you have a Web API or SDK sample for this feature could you please share with me?
Tony

[attach]2290[/attach]

[attach]2291[/attach]

[attach]2292[/attach]

[attach]2293[/attach]

author: lihui2006    time: 2020-3-26 19:51
hello, dear tony,
yes, 2-way talk is well supported by the WEB software, click that "intercom/talk" button below.and kindly pls do online upgrading on smarteye server, there is new update today.
kindly pls check.
[attach]2294[/attach]

and pls note PTT key has to be pressed by default to speak on camera side,
it's volumn down key for an android phone.
[attach]2295[/attach]
[attach]2296[/attach]or may disable PTT half duplex mode, then it works on duplex mode, no PTT needed to speak.
select exit in settings  menu in MCP to save configuration, then restart MCP.


author: thoyyib    time: 2020-3-31 10:47
Hi,
I have a couple of questions and issues with the SmartEye Web API and SDK.
We use your BC310 model camera for our Software integration testing and many sample API functions dont work with this Android Body Camera with MCP App

1- The "Device shutdown / restarts / event alarm" API function does not work. Nothing happens in the Device when these functions are triggered
2- Is there any way i can capture SOS button press event via Web API?
3- Is there any way i can get information of the connected Device via Web API?

Tony
[attach]2300[/attach]
[attach]2301[/attach]

author: coldflame    time: 2020-3-31 12:01
dear tony, do you have a BC310 at hand?

author: thoyyib    time: 2020-3-31 12:15
coldflame post on2020-3-31 12:01
dear tony, do you have a BC310 at hand?

Yes, we have BC310 Camera. We are using it in our testing and integration work
author: IBeli    time: 2020-3-31 13:05
thoyyib post on2020-3-31 10:47
Hi,
I have a couple of questions and issues with the SmartEye Web API and SDK.
We use your BC310 m ...

hi tony.
I tested the question 1 using the demo your pointed.  After login success, i input the puid in block "请输入PUID", then click the restart button (设备重启 ) , i saw the mcp app restart. Shutdown Button work fine also.   Is any diff operation between us ?


author: thoyyib    time: 2020-3-31 13:11
IBeli post on2020-3-31 13:05
hi tony.
I tested the question 1 using the demo your pointed.  After login success, i input the p ...

Hi,
I thought the shutdown and restart command was to shutdown and restart the Camera but now its clear its only for the MCP app. This is clear now

I would like to know if its possible to capture the SOS or Event Alarm action from the Body Camera via the Web API or SDk?

Tony
author: IBeli    time: 2020-3-31 13:25
thoyyib post on2020-3-31 10:47
Hi,
I have a couple of questions and issues with the SmartEye Web API and SDK.
We use your BC310 m ...

Question 2:
The demo Device shutdown/restart/event alarm has shown capture SOS event. you can find them in the
click event handle function (testRegNotify) of button 注册通知. Below i will describe the progress of the capture.[attach]2302[/attach]

You should regist 'notify' handle function to session after you create the session.  you can see demo about session in login/Exit.
The handle funtion will be call after many kind of notify recieved. we test the third arg to select the "notify_event_source".
The detil of the notify can be finded in swAddCallBack args.

author: lihui2006    time: 2020-3-31 13:35
hi, tony, pls make sure your server software is the latest one (0326), may do online upgrading from 61.191.27.18:8181

author: thoyyib    time: 2020-3-31 14:29
lihui2006 post on2020-3-31 13:35
hi, tony, pls make sure your server software is the latest one (0326), may do online upgrading from  ...

Ok, we will try updating the SmartEye Server application and check.
Last time we did the update it actually broke the whole SmartEye system. None of the SmartEye Web App features worked.

We did not use the update server IP Address you provided when we updated.
author: coldflame    time: 2020-3-31 14:52
yes, like this,
author: thoyyib    time: 2020-4-1 18:13
Hi,
We have added SSL Certificate to the our Web Application that connects to SmartEye Web Server and API.
After adding the SSL Certificate to our web application we are no longer able to Authenticate\Login to SmartEye server any more via our Web App.
We see the following error in the browser console;
[attach]2343[/attach]

Is there any where in the web server (nginx) of SmartEye system that we need to configure our SSL Certificate.
There is also an EXPIRED Certificate embedded in the SmartEye application. The issue may be caused because of the Expired Certificate.
[attach]2344[/attach]

Could you please guide us how to configure our own SSL Certificate in the SmartEye web server?

Thank
Tony

author: IBeli    time: 2020-4-1 20:02
thoyyib post on2020-4-1 18:13
Hi,
We have added SSL Certificate to the our Web Application that connects to SmartEye Web Server a ...

hi.
The nginx can proxy https protocal then commit https request to another http server. With the response also.
You must think out server just a http server, your nginx make our server has https(SSL) ablity view from browser.
Our server has two path need to be proxyed. First is the root path, second is websocket path.

You can try to insert below conf code to your nginx https server block.

location jswservice/ {
    http://127.0.0.1:8081/
    index  index.html index.htm;
}

location jswservice/jswapi {
    proxy_pass http://127.0.0.1:8081/jswapi;
    proxy_redirect default;

    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

    proxy_connect_timeout 45;
    proxy_send_timeout 600;
    proxy_read_timeout 600;
}
ps: 127.0.0.1:8081 should be replace to our server address
When you call jSW.swInit() to initial jSW lib, you should input "https://xxxxxx/jswservice"  as url param.


author: thoyyib    time: 2020-4-15 15:45
IBeli post on2020-4-1 20:02
hi.
The nginx can proxy https protocal then commit https request to another http server. With the ...

Hi,

We have tried the nginx proxy solution but we still cannot get the system to accept our SSL Certificate.
The SmartEye nginx server is still using the expired certificate.

See the attachments for more detailsThanks in advance for your support

[attach]2360[/attach]
[attach]2361[/attach]
[attach]2362[/attach]


author: IBeli    time: 2020-4-15 17:08
thoyyib post on2020-4-15 15:45
Hi,

We have tried the nginx proxy solution but we still cannot get the system to accept our SSL ...

Ou, the question existed in old versoin. we have repaired it. you need update server software.
author: besovideo    time: 2020-4-15 17:21
well, ok, will send you the latest WEB SDK software via wetransfer.

author: thoyyib    time: 2020-4-15 17:41
IBeli post on2020-4-15 17:08
Ou, the question existed in old versoin. we have repaired it. you need update server software.


Hi,

Thanks for the reply. We did update the SmartEye Server to latest version and my team has tried to configure the SSL even in the latest version SmartEye Server but the result is the same.Please provide the working Web SDK so that we can resolve this issue.

Tony

[attach]2374[/attach]

[attach]2375[/attach]


author: thoyyib    time: 2020-4-15 18:17
besovideo post on2020-4-15 17:21
well, ok, will send you the latest WEB SDK software via wetransfer.

Hi.

I downloaded the new WEB SDK installer but we cannot run and install the SDK.
We see the following error message
[attach]2378[/attach]

author: besovideo    time: 2020-4-15 20:10
pls confirm that this webAPI plugin software is installed on the server where smarteye server is installed,
and make sure there is built-in WEB API package in this smarteye server.
run this .exe is to do upgrading to old version of webAPI part.

author: besovideo    time: 2020-4-15 20:12
if problem persists, pls re-install the full smarteye server package again, and then install this webAPI plugin .
should be OK.

author: thoyyib    time: 2020-4-15 21:55
besovideo post on2020-4-15 20:12
if problem persists, pls re-install the full smarteye server package again, and then install this we ...

Thanks.
My team was able to install the WED SDK after following your advice
author: thoyyib    time: 2020-4-16 10:05
Hi,

We have installed the WEB SDK and also updated the SmartEye Server to the latest version and tried to set the SSL Certificate again but still we experience the same issue.
We are unable to configure and use our SSL Certificate in SmartEye server.
[attach]2381[/attach]

[attach]2382[/attach]

[attach]2383[/attach]


author: besovideo    time: 2020-4-16 10:17
when the final error occurs, there should be a continue button at the bottom, it's not there?

author: thoyyib    time: 2020-4-16 11:12
besovideo post on2020-4-16 10:17
when the final error occurs, there should be a continue button at the bottom, it's not there?

Hi,
Yes, if we use 'proceed insecure connection' we can access the SmartEye Web App. We need to establish a secure connection to SmartEye server with our own SSL CertificateHowever, we are not using the SmartEeye Web App. We have our own Web App that interface with SmartEye API and websocket.

We want the following;
1- We need to know how to validate the SmartEye certificate from "Internet Widgits Pty Ltd" ( this certificate is not valid, it has expired)
2- The websocket gets broken because of the Invalid Certificate, we need work around.
3- Can we replace existing certificate with our own certificate?

[attach]2384[/attach]






author: IBeli    time: 2020-4-16 11:46
thoyyib post on2020-4-16 11:12
Hi,
Yes, if we use 'proceed insecure connection' we can access the SmartEye Web App. We need to e ...

Hi, please concern this pic. the pic shows the sturcture between our and your server.  
The conf i provided is for your https server to proxy the Server B des path.  Should not insert into our nginx server. Two path you server should proxy for our server, one is the root path for http, second is the /jswapi for websocket.
Finnally your web page nolonger visit server B useing https directly.  
[attach]2385[/attach]

author: thoyyib    time: 2020-4-16 12:00
IBeli post on2020-4-16 11:46
Hi, please concern this pic. the pic shows the sturcture between our and your server.  
The conf ...



My team just tried the solution you suggested but we still cannot get it working.
It looks like we cannot mix HTTPS with WebSocket (http/ws   , https/wss)


[attach]2386[/attach]

We get this result when we try the solution you suggested

[attach]2387[/attach]

author: thoyyib    time: 2020-4-16 12:06
thoyyib post on2020-4-16 12:00
My team just tried the solution you suggested but we still cannot get it working.
It looks li ...

Please note that our web application is developed in ASP.NET and Angular
We host the web application in IIS + .NET Core server in a Windows Server 2016 machine
author: IBeli    time: 2020-4-16 12:06
thoyyib post on2020-4-16 12:00
My team just tried the solution you suggested but we still cannot get it working.
It looks li ...

Could you provide remote desktop of your server? it will be more efficient.
author: besovideo    time: 2020-4-16 12:14
yes, teamviewer or remote desktop will be ok.
author: thoyyib    time: 2020-4-16 12:18
IBeli post on2020-4-16 12:06
Could you provide remote desktop of your server? it will be more efficient.

Please give us few hours to prepare our local sever for you to remote in check the issue.
Do you use TeamViewer?
author: IBeli    time: 2020-4-16 12:27
thoyyib post on2020-4-16 12:18
Please give us few hours to prepare our local sever for you to remote in check the issue.
Do you  ...

Teamview is ok
author: thoyyib    time: 2020-4-16 12:56
IBeli post on2020-4-16 12:27
Teamview is ok

Hi, i have sent the remote access TeamViewer ID and Password to Huang via email.
My team is on standby to work with you.
author: besovideo    time: 2020-4-16 13:12
well, ok, it's rest time here, will work after 1hour.
author: thoyyib    time: 2020-4-16 13:35
besovideo post on2020-4-16 13:12
well, ok, it's rest time here, will work after 1hour.

Sure, my team will keep the TeamViewer session open.
Let us know when you are ready to connect. Have a good rest. Its lunch time for us too

author: IBeli    time: 2020-4-16 16:40
thoyyib post on2020-4-16 13:35
Sure, my team will keep the TeamViewer session open.
Let us know when you are ready to connect. H ...

Ou, we are in same time zone!
I have connected and tested  inverse proxy of IIS on your server.
I find it hard to use IIS for inverse proxy, so i download a nginx to do that.
A new nginx should be startup in your server to inverse porxy your website and bv service.
I have test it on your teamviewer. function swinit args need change.
[attach]2388[/attach]


author: thoyyib    time: 2020-4-16 17:28
IBeli post on2020-4-16 16:40
Ou, we are in same time zone!
I have connected and tested  inverse proxy of IIS on your server.
...

Change swint done. If you have any question. Please contact me via teamviewer chat.
author: thoyyib    time: 2020-4-16 18:19
IBeli post on2020-4-16 16:40
Ou, we are in same time zone!
I have connected and tested  inverse proxy of IIS on your server.
...

Hi,
Yes, we are in the same timezome. Software team of WOLFCOM is in Bangkok.Our team has made the "function swinit args" modification you suggested and now we cannot access web app anymore.
Please advise the next steps.

Let me know if you need TeamViewer remote access tomorrow

[attach]2400[/attach]



author: thoyyib    time: 2020-4-17 17:07
thoyyib post on2020-4-16 18:19
Hi,
Yes, we are in the same timezome. Software team of WOLFCOM is in Bangkok.Our team has made th ...

Hi,
We found a solution on our own. We replaced your invalid certificate with our own valid certificate and now we can use SSL in SmartEye server.

Thanks for your support
author: besovideo    time: 2020-4-17 17:09
wow, great, thx for your feedback.

author: thoyyib    time: 2020-4-27 22:45
Hi,
We are having some issues downloading Picture files remotely from Device.
When we try to use the SmartEye API function to to download a Picture file from connected Device, the MCP App in the Device crashes or terminates.
Could you check this issue let us know. Thanks
[attach]2428[/attach]

author: lihui2006    time: 2020-4-28 07:26
OK, thx, we shall check&feedback.
and pls check update in MCP too.

author: hardfire    time: 2020-4-28 20:37
And please double check. We tried. It's okay. No problem found.
author: thoyyib    time: 2020-4-30 15:19
hardfire post on2020-4-28 20:37
And please double check. We tried. It's okay. No problem found.

Hi,

It looks like the problem was with the old version or custom version of MCP App in the Body Camera.
We tested with the latest version MCP Android app in Smartphone and everything was working fine.

We will investigate this further.

Tony
author: besovideo    time: 2020-4-30 15:32
great, thx.
author: thoyyib    time: 2020-4-30 15:35
Hi,

We need help with the Send Audio Message function. We tried to send an Audio Message clip using the existing SmartEye Web API but it does not seems to work.
We are not sure whats the audio data type to send via swConfIM  API. Could you please clarify and explain how we can send Audio Message via Web.
[attach]2430[/attach]
[attach]2431[/attach]

author: IBeli    time: 2020-4-30 16:27
thoyyib post on2020-4-30 15:35
Hi,

We need help with the Send Audio Message function. We tried to send an Audio Message clip usi ...

Hi,
Now webapi don't support sending audio fragment. receiveing audio fragment is supported.
If you want to us add the api please connect mr. huang.



author: thoyyib    time: 2020-4-30 16:38
IBeli post on2020-4-30 16:27
Hi,
Now webapi don't support sending audio fragment. receiveing audio fragment is supported.
If ...

Thanks.
I will reach out to Mr. Huang
author: IBeli    time: 2020-4-30 18:01
thoyyib post on2020-4-30 16:38
Thanks.
I will reach out to Mr. Huang

Webapi don't support sending audio fragment.  if we add the api we will notice you..
author: thoyyib    time: 2020-5-1 13:18
IBeli post on2020-4-30 18:01
Webapi don't support sending audio fragment.  if we add the api we will notice you..

Thanks.
We will wait for you to add this api function. We have already prepared everything in our application to support sending audio fragment.
author: thoyyib    time: 2020-5-1 14:02
Hi,Is there any way we can do a "two-way" audio call using the web api like we do audio call in SmartEye Monitor software.
There is only a one-way intercom talk feature in Web Api > Maps feature. We don't see any web api that can enable us to initiate a two-way audio call.

[attach]2432[/attach]

[attach]2433[/attach]

[attach]2434[/attach]

author: IBeli    time: 2020-5-1 18:59
thoyyib post on2020-5-1 14:02
Hi,Is there any way we can do a "two-way" audio call using the web api like we do audio call in Smar ...

Hi,  Do you means that you want to call the device and send  audio segment at same time?
author: thoyyib    time: 2020-5-1 22:21
IBeli post on2020-5-1 18:59
Hi,  Do you means that you want to call the device and send  audio segment at same time?

No, i mean doing a two-way audio call (send and receive audio) between SmartEye Monitor software and MCP App device. It's same as making a phone call to from your WeChat from Computer to Smartphone. We want to implement a web application to perform audio call.

We want to know if we can perform "Initiate a Voice Call" feature like in SmartEye Monitor using the Web Api
[attach]2435[/attach]

author: lihui2006    time: 2020-5-2 10:59
hello, dear tony,
it's not here to start a 2way talk. that's for group PTT talk, not for P2P talk.pls check below,
large scale mobile video management platform VMS/smarteye,
http://en.besovideo.com/product/38.html

http://up.besovideo.com:7780/4GBWC_BC310_manual.pdf
http://up.besovideo.com:7780/MCP_manual.pdf
http://up.besovideo.com:7780/smarteye_manual.pdf

author: thoyyib    time: 2020-5-2 15:31
lihui2006 post on2020-5-2 10:59
hello, dear tony,
it's not here to start a 2way talk. that's for group PTT talk, not for P2P talk.p ...

Hi, i do understand all this. What i want to know is how we can do P2P talk using Web Api?
We cannot find any Web Api function to enable us to perform P2P talk
author: thoyyib    time: 2020-5-2 15:42


I still dont think anyone understands my actual question
How can we use the "Initiate a Voice Call" feature using the "Web Api"??
This feature allows us to do P2P Talk betweem Computer with SmartEye Monitor software and MCP App



[attach]2437[/attach]

author: lihui2006    time: 2020-5-2 18:23
kindly pls find the DEMO/API here

author: thoyyib    time: 2020-5-2 21:11
lihui2006 post on2020-5-2 18:23
kindly pls find the DEMO/API here

Thanks. This is what we were looking for but the demo does not seem to work at the moment.
Nothing happens when i click "Turn on Intercom"

I will check with my team later and feedback
author: lihui2006    time: 2020-5-2 22:05
sorry for it's all in Chinese demo.
you may ask us here, shall interpret them .

author: thoyyib    time: 2020-5-4 16:36
Hi,We have a question about the "SOS" and "Alarm In" trigger function from BC310 Camera.
Is there any "Web Api" function that can enable us to get the get the SOS or Alarm In trigger from the BC310 Body Camera when user press "SOS" button

We are able to use the SOS trigger function using SmartEye Monitor software but we cannot find any functions in Web Api

[attach]2442[/attach]

[attach]2443[/attach]

author: lihui2006    time: 2020-5-4 21:25
well this sos alarm is responded by pulling stream from PU/camera from the CU end.the C/S client does this now.
for WEB software, there is a SOS alarm information,
but no pulling stream action.
in fact, you may do it yourself on response to SOS alarm.
you may write a demo to print the notify msg received when sos pressed ,



author: thoyyib    time: 2020-5-5 12:10
lihui2006 post on2020-5-4 21:25
well this sos alarm is responded by pulling stream from PU/camera from the CU end.the C/S client doe ...

Thanks. This is very helpful.
We are able to get the SOS Alert Event now. We will design our own SOS event actions
author: thoyyib    time: 2020-7-22 10:42
IBeli post on2020-4-30 18:01
Webapi don't support sending audio fragment.  if we add the api we will notice you..

Hi,
Do you now have the feature in Web API to send Audio Message in POC chat?
Tony
author: coldflame    time: 2020-7-22 10:55
ready for OCX but not ready for H5.

author: thoyyib    time: 2020-7-22 10:59
Hi,

Is there any Web API function that could allow us to Record Video to local PC storage while Live Streaming video.
There is a feature to Record Video to PC in the SmartEye Monitor software. Just wanted to know if its possible to do with the Web SDK.

Tony

[attach]2638[/attach]

author: bai_315    time: 2020-7-22 11:16
thoyyib post on2020-7-22 10:59
Hi,

Is there any Web API function that could allow us to Record Video to local PC storage while L ...

You can refer to our demo.There are specific examples.
http://61.191.27.18:8081/demo/localVideoRecordSave.html

author: IBeli    time: 2020-7-22 11:23
thoyyib post on2020-7-22 10:59
Hi,

Is there any Web API function that could allow us to Record Video to local PC storage while L ...

Hi,
Now Recording video in browser pc storage is not supported in h5 but in ocx.
Add support in h5 mode is feasible.
author: thoyyib    time: 2020-7-22 11:29
coldflame post on2020-7-22 10:55
ready for OCX but not ready for H5.

Thanks. Please let us know when H5 is ready.
We cannot use OCX because this technology is obsolete and has many security issues
author: thoyyib    time: 2020-7-22 11:30
IBeli post on2020-7-22 11:23
Hi,
Now Recording video in browser pc storage is not supported in h5 but in ocx.
Add support in  ...

Thanks. Please let us know when H5 solution is ready. Many modern web browsers do support or block OCX.
We cannot use OCX because this technology is obsolete and has many security issues
author: coldflame    time: 2020-7-22 11:53
dear tony,
we're working on new functions in WEB H5 software by customers payment.
pls sort out those features you want in a document, email to us,
we shall give a quotation.





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