当前位置:网站首页>Develop those things: easycvr platform adds playback address authentication function
Develop those things: easycvr platform adds playback address authentication function
2022-07-01 20:01:00 【EasyCVR】
EasyCVR The platform supports massive video convergence and management , Based on cloud edge end integration architecture , Powerful data access 、 Processing and distribution capabilities , Functionally , It can provide live video 、 Cloud video 、 Cloud storage 、 Video retrieval and review 、 Intelligent alarm 、 Platform cascading 、 Intelligent analysis, etc . Recently, we are working on EasyCVR Expand new functions of the platform , For example, cluster 、 Electronic map and track tracking 、 Video rotation, etc , Welcome to pay attention to our update .
Today I'd like to share with you EasyCVR The platform adds the code implementation process of playback address authentication .
Add authentication parameters to the playback address , Verify the validity of parameters when playing . When the page requests to play , Switch according to the function , Verify whether the playback address is added token, And then it goes back to the front end . The code reference is as follows :
sc.FLV, _ = GenLiveUrl(hostname, "FLV", int(value.ChannelID), streamMode)
sc.FLV = wrapURLWithLiveToken(sc.FLV, c)
sc.HLS, _ = GenLiveUrl(hostname, "HLS", int(value.ChannelID), streamMode)
sc.HLS = wrapURLWithLiveToken(sc.HLS, c)
sc.RTSP, _ = GenLiveUrl(hostname, "RTSP", int(value.ChannelID), streamMode)
sc.RTSP = wrapURLWithLiveToken(sc.RTSP, c)
sc.Rtmp, _ = GenLiveUrl(hostname, "RTMP", int(value.ChannelID), streamMode)
sc.Rtmp = wrapURLWithLiveToken(sc.Rtmp, c)
sc.WSFLV, _ = GenLiveUrl(hostname, "WS_FLV", int(value.ChannelID), streamMode)
sc.WSFLV = wrapURLWithLiveToken(sc.WSFLV, c)
sc.WSSFLV, _ = GenLiveUrl(hostname, "WSS_FLV", int(value.ChannelID), streamMode)
sc.WSSFLV = wrapURLWithLiveToken(sc.WSSFLV, c)
sc.Rtc, _ = GenLiveUrl(hostname, "WEBRTC", int(value.ChannelID), streamMode)
sc.Rtc = wrapURLWithLiveToken(sc.Rtc, c)
Play again to the set time , The playback address will automatically stop playing when the timeliness expires .
EasyCVR It is the video management platform with the widest access protocol , In addition to the standard protocol GB28181、RTSP/Onvif、RTMP etc. , It also supports the private agreement of the manufacturer and SDK, Like Haikang Ehome、 The sea, SDK、 Dahua SDK etc. .
EasyCVR The platform is also actively integrating video intelligent detection and analysis technology , By monitoring the people in the scene 、 vehicle 、 Capture objects 、 Detection and identification , It can intelligently remind and notify abnormal conditions . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- MYSLQ十种锁,一篇文章带你全解析
- Tensorflow reports an error, could not load dynamic library 'libcudnn so. eight
- 3D panoramic model display visualization technology demonstration
- 3D全景模型展示可视化技术演示
- RichView RichEdit SRichViewEdit PageSize 页面设置与同步
- RichView TRVDocParameters 页面参数设置
- A quietly rising domestic software, low-key and powerful!
- 想得到股票开户的优惠链接,如何得知?在线开户是安全么?
- 基于图的 Affinity Propagation 聚类计算公式详解和代码示例
- 为定时器和延时器等其它情况的回调函数绑定当前作用域的this
猜你喜欢
Class loading mechanism
Is Dao safe? Build finance encountered a malicious governance takeover and was looted!
使用Zadig从0到1搭建持续交付平台
RichView RichEdit SRichViewEdit PageSize 页面设置与同步
Easycvr accesses the equipment through the national standard gb28181 protocol. What is the reason for the automatic streaming of the equipment?
servlet知识点
振弦采集模块测量振弦传感器的流程步骤
cocoaPods 添加成功后,导入不了头文件或者not found file 报错
Interesting! Database is also serverless!
运动捕捉系统原理
随机推荐
[C language] explain the usage of memset() function in detail
RichView 文档中的 ITEM
人脸识别系统 —— OpenCV人脸检测
Sum the amount
Difference between redo and undo
New window open page -window open
EasyCVR集群视频广场页面切换时,请求流未能终止的问题优化
MYSLQ十种锁,一篇文章带你全解析
运动捕捉系统原理
【蓝桥杯Web】2022年第十三届蓝桥杯Web大学组国赛真题解析
PowerDesigner design name and comment replacement
Set object value changes null value object
对金额进行求和
渗透工具-TrustedSec 公司的渗透测试框架 (PTF)
一个悄然崛起的国产软件,低调又强大!
[research data] observation on the differences of health preservation concepts among people in 2022 - Download attached
PowerDesigner设计Name和Comment 替换
What if the win11 shortcut key switching input method doesn't respond? Shortcut key switching input method does not respond
JS的Proxy