当前位置:网站首页>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 .
边栏推荐
- Oracle physical architecture
- Win11 how to hide the taskbar? Win11 method to hide the taskbar
- Solve the problem of slow or failed vscode download
- Servlet knowledge points
- Detailed configuration of network security "Splunk" in national vocational college skills competition
- Redis installation and startup in Windows environment (background startup)
- MYSLQ十种锁,一篇文章带你全解析
- [research materials] Huawei Technology ICT 2021: at the beginning of the "Yuan" year, the industry is "new" -- download attached
- Is Dao safe? Build finance encountered a malicious governance takeover and was looted!
- 3D全景模型展示可视化技术演示
猜你喜欢
math_ Use differentiation to calculate approximate value
使用Zadig从0到1搭建持续交付平台
牛客编程题--必刷101之字符串(高效刷题,举一反三)
3D全景模型展示可视化技术演示
Interview questions shared in today's group
SQL 入门计划-1-选择
uniapp使用腾讯地图选点 没有window监听回传用户的位置信息,怎么处理
EURA欧瑞E1000系列变频器使用PID实现恒压供水功能的相关参数设置及接线
Leetcode 1380 lucky numbers in matrix [array] the leetcode path of heroding
STC 32-bit 8051 single chip microcomputer development example tutorial three program compilation setting and download
随机推荐
Example explanation: move graph explorer to jupyterlab
Class loading mechanism
Image acquisition and playback of coaxpress high speed camera based on pxie interface
Use of common built-in classes of JS
Interview question 1
3D panoramic model display visualization technology demonstration
C#聯合halcon應用——大華相機采集類
Bind this of the current scope for callback functions in other cases such as timers and delayers
New window open page -window open
How to turn off the boot auto start software in win11
List is divided into sets that meet and do not meet conditions (partitioningby)
使用Zadig从0到1搭建持续交付平台
ModSim基本使用(Modbus模拟器)
Sum the amount
fastDFS入门
GaussDB(for MySQL) :Partial Result Cache,通过缓存中间结果对算子进行加速
Stack Overflow 2022 开发者调查:行业走向何方?
[Blue Bridge Cup web] analysis of the real topic of the 13th Blue Bridge Cup web university group match in 2022
STC 32-bit 8051 single chip microcomputer development example tutorial II i/o working mode and its configuration
Hls4ml reports an error the board_ part definition was not found for tul. com. tw:pynq-z2:part0:1.0.