当前位置:网站首页>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 .
边栏推荐
- [exercise] HashSet
- 2022/6/8-2022/6/12
- [research data] observation on the differences of health preservation concepts among people in 2022 - Download attached
- fastDFS入门
- C#联合halcon应用——大华相机采集类
- Stack Overflow 2022 开发者调查:行业走向何方?
- Keras机器翻译实战
- Install redis under Linux and configure the environment
- Arduino stepper library drive 28byj-48 stepper motor test program
- Flask 常用组件
猜你喜欢

有意思了!数据库也搞Serverless!

Image acquisition and playback of coaxpress high speed camera based on pxie interface

数据分析师听起来很高大上?了解这几点你再决定是否转型

Solve the problem of slow or failed vscode download
![[AI server setup] CUDA environment](/img/ca/2acfc42ea3ba24934a89472a8632f6.png)
[AI server setup] CUDA environment
![[Mysql]安装Mysql5.7](/img/c4/d7fb5ddf8e7be31f7a9ad68409e584.png)
[Mysql]安装Mysql5.7

关于元宇宙下一代入口——脑机接口的实现

Powerful, easy-to-use, professional editor / notebook software suitable for programmers / software developers, comprehensive evaluation and comprehensive recommendation

HLS4ML进入方法

独家消息:阿里云悄然推出RPA云电脑,已与多家RPA厂商开放合作
随机推荐
HLS4ML/vivado HLS 报错解决方案
3D全景模型展示可视化技术演示
Solve the problem of slow or failed vscode download
[Mysql]安装Mysql5.7
Wechat applet realizes keyword highlighting
Interesting! Database is also serverless!
Object creation
Hls4ml entry method
Using win7 vulnerability to crack the system login password
大厂做狼,小厂做狗?
Cookie和Session的相关概念
DS Transunet:用于医学图像分割的双Swin-Transformer U-Net
math_ Use differentiation to calculate approximate value
How can a programmer grow rapidly
对金额进行求和
[research data] observation on the differences of health preservation concepts among people in 2022 - Download attached
Technology T3 domestic platform! Successfully equipped with "Yihui domestic real-time system sylixos"
MYSLQ十种锁,一篇文章带你全解析
Keras机器翻译实战
Anaconda安装虚拟环境到指定路径