当前位置:网站首页>RTMP streaming platform easydss video on demand interface search bar development label fuzzy query process introduction
RTMP streaming platform easydss video on demand interface search bar development label fuzzy query process introduction
2022-06-24 12:24:00 【Tsingsee green rhino video】
EasyDSS Video on demand interface of video platform , At present, the search bar can perform fuzzy query on file names , In the new update , We need to add a fuzzy query to the file label , Improve user experience .
After thinking and analyzing , This function is mainly realized by the server receiving the parameters of the search bar , Make verification judgment 、 Assign values to labels after splicing parameters “labels”.
Finally, the database query statements are spliced :
SELECT * FROM "vod_files" WHERE (dir_id in ('o6SX08qGR')) AND labels like '%ten;%' OR name like '%ten%'After testing, we found that , Implementing this requirement in the above way will result in searching for files in unauthorized directories , Here's the picture :
After checking the code, we found that , This problem is caused by incorrect splicing of database query statements , So we modify the query statement to :
SELECT * FROM "vod_files" WHERE (dir_id in ('o6SX08qGR')) AND ((labels like '% football ;%') OR (name like '% football %'))The test results are shown in the following figure , You can get the desired results more accurately :
EasyDSS There is no need to install plug-ins to watch video streaming live broadcast on the video platform , Web pages can be played directly , Enter the platform through the browser to configure , For users , Convenient and controllable , There is no need to build another server , Have a great advantage .
Play a RTMP Protocol streaming media needs to go through the following steps : handshake , Set up a network connection , Set up network flow , Play . Only one network connection can be established between the server and the client , But based on this connection, you can create many network flows , This is also RTMP A feature of Streaming Protocol . Because many project teams have requirements for streaming , Therefore, we often encounter these situations , I will introduce you EasyDSS, That is, a streaming media server suitable for streaming platform .
边栏推荐
- 打新债的条件 开户是安全的吗
- 打新债可以申请多少 开户是安全的吗
- How is the e-commerce red envelope realized? For interview (typical high concurrency)
- Example of SMS interface verification code function implemented by ThinkPHP framework
- How to purchase new bonds is it safe to open an account
- 如何优雅的写 Controller 层代码?
- [go language questions] go from 0 to entry 4: advanced usage of slice, elementary review and introduction to map
- 【Go语言刷题篇】Go从0到入门4:切片的高级用法、初级复习与Map入门学习
- Is it safe to open an account for how many new bonds you can apply for
- [live review] battle code pioneer phase 7: how third-party application developers contribute to open source
猜你喜欢
Deep parsing and implementation of redis pub/sub publish subscribe mode message queue

【直播回顾】战码先锋第七期:三方应用开发者如何为开源做贡献

Group planning - General Review

How to write controller layer code gracefully?

Axi low power interface
[Old Wei makes machines] issue 090: keyboard? host? Full function keyboard host!

美团基于 Flink 的实时数仓平台建设新进展
![[go language questions] go from 0 to entry 4: advanced usage of slice, elementary review and introduction to map](/img/7a/16b481753d7d57f50dc8787eec8a1a.png)
[go language questions] go from 0 to entry 4: advanced usage of slice, elementary review and introduction to map

Tools and methods - use code formatting tools in source insight

Installation and operation of libuv
随机推荐
嵌入式必学!硬件资源接口详解——基于ARM AM335X开发板 (下)
深度学习~11+高分疾病相关miRNA研究新视角
JVM GC garbage collection detailed introduction quick check of learning notes
深圳市人民医院程立新课题组提出多组学数据在肝细胞癌的诊断与预后分析的新方法meGPS
Istio FAQ: istio init crash
Difference between X12 830 and 862 messages
Ten thousand campus developers play AI in a fancy way. It's enough to see this picture!
Basic path test of software test on the function of the previous day
OpenGL es shared context for multi-threaded rendering
Programmers spend most of their time not writing code, but...
9+!通过深度学习从结直肠癌的组织学中预测淋巴结状态
【Go语言刷题篇】Go从0到入门4:切片的高级用法、初级复习与Map入门学习
最新热点:使用铜死亡相关基因进行肿瘤预后分型!
AXI低功耗接口
How stupid of me to hire a bunch of programmers who can only "Google"!
Single gene pan cancer + simple experiment can be published 7 points+
炒伦敦金短线稳定赚钱技巧?在哪里炒伦敦金安全靠谱?
Insurance app aging service evaluation analysis 2022 issue 06
Jenkins performance test
[go language questions] go from 0 to entry 4: advanced usage of slice, elementary review and introduction to map