当前位置:网站首页>Develop those things: add playback address authentication to easycvr platform
Develop those things: add playback address authentication to easycvr platform
2022-07-01 17:55:00 【Tsingsee green rhino video】
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 .
边栏推荐
- MES production equipment manufacturing execution system software
- Htt [ripro network disk link detection plug-in] currently supports four common network disks
- PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
- Why should you consider using prism
- China acetonitrile market forecast and strategic consulting research report (2022 Edition)
- Apache iceberg source code analysis: schema evolution
- 聊聊项目经理最爱使用的工具
- Glidefast consulting was selected as the elite partner of servicenow in 2022
- ArrayList扩容详解
- [2. Basics of Delphi grammar] 4 Object Pascal operators and expressions
猜你喜欢
vulnhub靶场-hacksudo - Thor
(17) DAC conversion experiment
Kernel stray cat stray dog pet adoption platform H5 source code
Vulnhub range hacker_ Kid-v1.0.1
【牛客网刷题系列 之 Verilog快速入门】~ 优先编码器电路①
Oom caused by improper use of multithreading
Euler function: find the number of numbers less than or equal to N and coprime with n
Data warehouse (3) star model and dimension modeling of data warehouse modeling
(十七)DAC转换实验
June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
随机推荐
The reviewboard has 500 errors when submitting a review. Solutions
D @ safety and dip1000
Software construction scheme of smart factory collaborative management and control application system
Yolov5 practice: teach object detection by hand
Depth first traversal and breadth first traversal [easy to understand]
网上股票开户安全吗?是否可靠?
ISO 27001 Information Security Management System Certification
Work and leisure suggestions of old programmers
Zabbix报警执行远程命令
. Net cloud native architect training camp (permission system code implements actionaccess) -- learning notes
Replace UUID, nanoid is faster and safer!
Good looking UI mall source code has been scanned, no back door, no encryption
June issue | antdb database participated in the preparation of the "Database Development Research Report" and appeared on the list of information technology and entrepreneurship industries
網上股票開戶安全嗎?是否可靠?
Countdownlatch blocking wait for multithreading concurrency
Htt [ripro network disk link detection plug-in] currently supports four common network disks
The difference and relationship between iteratible objects, iterators and generators
Research Report on China's enzyme Market Forecast and investment strategy (2022 Edition)
[2. Basics of Delphi grammar] 4 Object Pascal operators and expressions
传感器尺寸、像素、DPI分辨率、英寸、毫米的关系