当前位置:网站首页>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 .
边栏推荐
- Setting up a time server requires the client to automatically synchronize the time of the server at 9 a.m. every day
- Work and leisure suggestions of old programmers
- SLO is increasingly used to achieve observability | Devops
- APK签名流程介绍[通俗易懂]
- 反射型XSS漏洞
- [C supplement] [string] display the schedule of a month by date
- Gameframework eating guide
- Htt [ripro network disk link detection plug-in] currently supports four common network disks
- 整形数组合并【JS】
- LeetCode中等题之TinyURL 的加密与解密
猜你喜欢

Kernel stray cat stray dog pet adoption platform H5 source code

transform. Forward and vector3 Differences in the use of forward

The new server is packaged with the source code of H5 mall with an operation level value of several thousand

What are the legal risks of NFT brought by stars such as curry and O'Neill?

The difference and relationship between iteratible objects, iterators and generators

Thinkphp6 - CMS multi wechat management system source code

Petrv2: a unified framework for 3D perception of multi camera images

How to write good code - Defensive Programming Guide

(17) DAC conversion experiment

DNS
随机推荐
[C supplement] [string] display the schedule of a month by date
DRF --- response rewrite
LeetCode中等题之TinyURL 的加密与解密
Function, condition, regular expression
What are the legal risks of NFT brought by stars such as curry and O'Neill?
Openlayers 自定义气泡框以及定位到气泡框
js如何将带有分割符的字符串转化成一个n维数组
Intelligent operation and maintenance practice: banking business process and single transaction tracking
Official announcement! Hong Kong University of science and Technology (Guangzhou) approved!
New patent applications and transfers
徽商期货是正规期货平台吗?在徽商期货开户安全吗?
February 16, 2022 Daily: graph neural network self training method under distribution and migration
整形数组合并【JS】
Product service, operation characteristics
Research Report on development prediction and investment direction of nylon filament sewing thread in China (2022 Edition)
Detailed explanation of ArrayList expansion
The difference and relationship between iteratible objects, iterators and generators
(十六)ADC转换实验
MySQL -- explain performance optimization
Development cost of smart factory management system software platform