mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: arie
打印 prevThread nextThread

questions about smarteye WEB SDK/API

[copyURL]

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
11#
 Owner| poston 2024-12-6 18:16 | authorOnly
arie post on2024-12-6 18:07
We need to code the stream like this:

So we need an (aspx) page with HTML like <div>'s, <canvas>, <button>'s etc and a <script> block.
reply agree Against

使用道具 report

4

主题

359

帖子

1914

积分

vipMem

Rank: 6Rank: 6

积分
1914
12#
poston 2024-12-7 10:25 | authorOnly
ok, pls have a try
reply agree Against

使用道具 report

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
13#
 Owner| poston 2024-12-9 15:55 | authorOnly
IBeli post on2024-12-6 18:15
Ok ok
After you loaded main.browser.js and main.browser.css, var bvPlayer (contains all exported  ...

Dear,

Can you please tell us how from this:  {https://84.22.96.184:9781}
we can receive this header: {access-control-allow-origin: 'https://84.22.96.184:9781'}.

And pleace replace the DOUBLE-BYTE codes by English translation since we need to read the errors and other texts!
Thank you very much!
  
See image:



本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

6

主题

444

帖子

1744

积分

vipMem

Rank: 6Rank: 6

积分
1744
14#
poston 2024-12-9 16:41 | authorOnly
arie post on2024-12-9 15:55
Dear,

Can you please tell us how from this:  {https://84.22.96.184:9781}

Dear,
Did you mean you want to load main.browser.js from https://84.22.96.184:9781 to your website?
DOUBLE-BYTE codes unreadable is a problem, we will replace them in the next step.




reply agree Against

使用道具 report

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
15#
 Owner| poston 2024-12-9 17:55 | authorOnly
IBeli post on2024-12-9 16:41
Dear,
Did you mean you want to load main.browser.js from https://84.22.96.184:9781 to your websit ...

Hi yes that is what we mean.
reply agree Against

使用道具 report

6

主题

444

帖子

1744

积分

vipMem

Rank: 6Rank: 6

积分
1744
16#
poston 2024-12-9 18:18 | authorOnly
arie post on2024-12-9 17:55
Hi yes that is what we mean.

Hi,
As you konw main.browser.js is just a javascript lib, load it from  {https://84.22.96.184:9781} website is not necessary, just like jquery. Download it from npm and copy to your website, also there has some cdn provide the services CDN.
Beside, there is no main.browser.js  in the {https://84.22.96.184:9781} website.

All of above, Make your website load the lib in diff way.



Yes, you have posted [we can receive this header: {access-control-allow-origin: 'https://84.22.96.184:9781'}.], The CORS cause the issue.
If you want send a http request from your website to {https://84.22.96.184:9781} and get response suceess , Config CORS on {https://84.22.96.184:9781} is necessary.

reply agree Against

使用道具 report

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
17#
 Owner| poston 2024-12-9 23:56 | authorOnly
Hi dear,

We get an error (see picture)
How can we solve this?
reply agree Against

使用道具 report

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
18#
 Owner| poston 2024-12-9 23:57 | authorOnly
arie post on2024-12-9 23:56
Hi dear,

We get an error (see picture)
How can we solve this error?


Kind regards
Arie

本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

6

主题

444

帖子

1744

积分

vipMem

Rank: 6Rank: 6

积分
1744
19#
poston 2024-12-10 09:04 | authorOnly
arie post on2024-12-9 23:57
Kind regards
Arie


Hi
Webrtc is incapable with video codec h265,main.browser.js has added ws-bvrtc for the incapability.
The key named “type” in the first parameter of function PuPlayer can indicate the protocol switching.
The type has there options "webrtc" | "ws-bvrtc" | "auto"
Have a try
reply agree Against

使用道具 report

2

主题

26

帖子

86

积分

member

Rank: 2

积分
86
20#
 Owner| poston 2024-12-10 18:53 | authorOnly
Both "auto" and "webrtc" cause the same {WebrtcH265Error} error! "auto" is the default so that would not work anyway.

When "ws-bvrtc" is set as {type}, we get this error: (see picture)




. Is this a <logical> error to change the code flow?

Please help with this. We are so close now i think.

本帖子中包含更多资源

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

x
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2025-5-21 14:31 , Processed in 0.071284 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList