当前位置:网站首页>VOD constructs its own player, and the user calls the interface to obtain the video playback address
VOD constructs its own player, and the user calls the interface to obtain the video playback address
2022-07-21 05:32:00 【51CTO】
Purpose : Use your own player to play the videos uploaded in LETV cloud on demand , Do not use the official player
Method :
1. This API The interface LETV cloud is only provided to paying users , You need to find the official customer service to open this function , Then let them provide this document API file
Parameter description :
1.user
2.video( It's video VU:8xxxxxx2, Not a video ID:4ccccc6)
HTTP Access method :
One 、GET Method
Two 、POST Method
HTTPS Access method :
The parameters are similar ,"protocol" => $http_type, This parameter should be added to both verification and transmission parameters
3、 ... and 、 Signature method
Four , Return the data
Return successful data Node description : contain 'video_list ' node , Including all scheduled playback places of specified video formats
site . If the requested video exists , The video source of standard definition and HD streams , Return two nodes at the same time , Each node contains
4 Video addresses (1 Lord ,3 To prepare ), The address is base64 code ,base64 Available after decoding , Pay attention to the timeliness of the playback address .
Other information is : Length and width of video and video bitstream information
explain :
1.main_url: Main website , Backup URL :back_url1_1,back_url1_2,back_url1_3
2.ts Timestamp has time limit , Time difference from now 1 Within minutes, , If you exceed the time limit, you need to get it again
3. Decrypted MP4 Video website , As long as you don't close the browser that opens the video, you can always watch and download , If you copy the video URL to others ( Other browsers open ), One minute later, I couldn't open the website where I could watch the video
Open error message
边栏推荐
- Request和Response
- Differentiation in R language
- 【Verilog数字系统设计(夏宇闻)----Verilog的基础知识1】
- JUC advanced -no.1 review of basic knowledge of threading
- 让你的ggplot2支持markdown语法
- Uniapp uses uni The solution to the request error {"errmsg": "request:fail abort statuscode:-1"}
- localtime()
- Common classes under JUC package
- [recursion & divide and conquer] compressed transformation (using interval tree and dichotomy, recursively count the number types in the specified interval)
- ASP. Net core using Autofac
猜你喜欢
Scala变量和数据类型(01)
Interaction between rmarkdown and word document
宝塔 workerman wss 反向代理 socket合法域名 小程序聊天 去掉端口
TP5.1 登录 配置是否登录公共函数的方法(完整的登录案例)
[hbuilder runs to the problem that Mumu simulator cannot install the base, and it has been stuck in the installation base...]
ASP.NET Core 使用记录1
Two common ways of communication between VLANs
比特置不可用——文件或目錄損壞且無法讀取
Spack作业分析
程序媛发文感慨失业,引来各行业程序猿安慰,笑喷在评论区
随机推荐
Go GMP model
[hbuilder runs to the problem that Mumu simulator cannot install the base, and it has been stuck in the installation base...]
sql递归随记
Rmarkdown与Word文档的交互
让你的ggplot2支持markdown语法
Spark高效数据分析04、RRD创建
list.stream常用操作
[Verilog digital system design (Xia Yuwen) -- basic knowledge of Verilog 1]
Iptables firewall experiment
Duplicate class com.amap.api.fence.DistrictItem found in modules jetified-3dmap-9.3.1.jar (com.amap.
Study json parse(JSON.stringify(obj))
经典网络学习-ResNet代码实现
微信、QQ、电话下单,在线订货系统助企业走出困局
Add a new field at the specified position in the MySQL table
[in simple terms, play with fpga9 ----- experience drops]
tp5.0 后台admin访问
Common classes under JUC package
Mysql 常用函数汇总,很实用,面试时常会遇到
localtime()
[El upload realizes a function of modifying avatar]