当前位置:网站首页>How to spell the iframe address of the video channel in easycvr?

How to spell the iframe address of the video channel in easycvr?

2022-06-24 03:56:00 Tsingsee green rhino video

because EasyCVR Is highly integrated , Many customers will adopt EasyCVR Integrated into their own platform , and EasyCVR There is no interface to request video streams in batches , If the customer wants to call the video stream , Only one channel can be used to obtain the video stream address and keep alive . In this way, when there is a large amount of access , Customers may have to send dozens of requests at a time , This may cause requests to accumulate , The platform will react very slowly , Therefore, it is recommended to use iframe The address is directly written to the front end to complete the operation , Faster and more convenient than the system keeps requesting .

But some users are not very good at getting EasyCVR Of iframe Address , Getting it from the page is really a way , But the efficiency is not high , Let's introduce EasyCVR How to spell iframe Address .

First we see iframe Addresses are in the same format , So at the beginning, the head is easycvr Of ip Address , as follows :

The difference is players hinder 3 A digital :

These three numbers represent deviceid,channelid And primary sub code stream , The first two can be obtained from the interface , It can be spliced through the acquired interface data ifreme Address .

In addition, there are two points to pay attention to when using , The first point is the above token, In the new version, there is no need to pass this , This token And login token Dissimilarity , You cannot log in token Bring it here , If the iframe There are no special security requirements for the address , This token You can ignore , Don't bring it .

The second point is that the remaining parameters can be set freely according to the needs of customers , But the format must be correct , Not less or more .

notes :

autoplay: Auto play

width: wide

height: high

allowfullscreen: Is it full screen

autoplay: The adaptive

autoplay fullscreen: Full screen adaptive

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/09/20210917181808597e.html