当前位置:网站首页>EasyPlayer流媒体播放器播放HLS视频,起播速度慢的技术优化
EasyPlayer流媒体播放器播放HLS视频,起播速度慢的技术优化
2022-06-24 17:35:00 【TSINGSEE青犀视频】
EasyPlayer属于可支持H.264/H.265视频播放的流媒体播放器,在体验上,支持视频播放画面秒开,画质高清、性能稳定,可支持的视频流格式有RTSP、RTMP、HLS、FLV、WebRTC等。同时,我们也提供了多种版本,包括EasyPlayer-RTSP、EasyPlayer-Pro、EasyPlayer.js等等,以及简单易用的SDK及API接口,用户可以根据自己的需求,将EasyPlayer集成进自己的流媒体平台。
在场景应用中,在按需直播模式中,流媒体服务器不会一直拉流,当用户点击请求播放时,才会生成m3u8文件。这样一来,就会导致播放器启动时请求的m3u8文件地址为404,导致播放器不能正常播放。
解决以上情况,我们对EasyPlayer播放器做了一个延迟15s的设定,播放器重启操作则会导致播放hls协议时,视频起播较慢。
针对这个问题,我们近期做了一个优化。在创建播放器时,对m3u8地址进行一次监测,如果地址为404,则延迟2.5后再次检测,直到m3u8地址返回200,才进行正常播放操作。这样可以实现以最快的速度起播,避免15s等待时间,极大地优化了视频播放体验。
EasyPlayer流媒体播放器支持Windows、Android、iOS系统,EasyPlayer.js还能支持Linux,可极大满足用户的多场景需求。EasyPlayer已经成熟运用于多个项目场景当中,用户可以根据自身的需求对其进行二次开发或自主集成。感兴趣的用户可以前去体验和测试,欢迎大家和我们交流技术。
边栏推荐
- How to create simple shapes in illustrator 2022
- Tencent cloud layer 7 load balancing log analysis and monitoring
- Best practices for H5 page adaptation and wechat default font size
- As for IOT safety, 20 CSOs from major manufacturers say
- FPGA systematic learning notes serialization_ Day8 [design of 4-bit multiplier and 4-bit divider]
- Install Clickhouse client code 210 connection referred (localhost:9000)
- H265/webvr video web page without plug-in player easyplayer Solution to the problem of cumulative delay of FLV video played by JS
- How to use rdbtools to analyze redis large keys
- test
- [2021 taac & Ti-One] FAQs related to preliminary round computing resources
猜你喜欢
SQL basic tutorial (learning notes)

Constantly changing the emergency dialing of harmonyos ETS during the new year
Using consistent hash algorithm in Presto to enhance the data cache locality of dynamic clusters

How to create simple shapes in illustrator 2022

NVM download, installation and use

LC 300. Longest increasing subsequence
Issue 39: MySQL time class partition write SQL considerations

Why do you develop middleware when you are young? "You can choose your own way"

Etching process flow for PCB fabrication
Using flex to implement common layouts
随机推荐
A solution to the problem that the separator of WordPress title - is escaped as -
Do you charge for PDF merging software? Programmers make one by themselves
The 'ng' entry cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Check the spelling of the name. If you include a path, make sure the path is correct, and then
Industrial security experts talk about DDoS countermeasures from the perspective of attack and defense
TCB series learning articles - using redis extension in cloud functions
This time, talk about the dry goods of industrial Internet | TVP technology closed door meeting
Redis source code analysis RDB
[play Tencent cloud] experience and development of game multimedia engine (II)
C language | printf output function
How to learn go language happily? Let's go!
CentOS 7 installing SQL server2017 (Linux)
Live broadcast Preview - on April 1, I made an appointment with you to explore tcapulusdb with Tencent cloud
Radiology: contralateral preoperative resting state MRI functional network integration is related to the surgical results of temporal lobe epilepsy
Realize business development on behalf of small programs, and 99% restore the function of service category management in the background of official account
Analysis of signal preemptive scheduling based on go language from source code
Tensor and tensor network background and significance - basic knowledge
Failure analysis | database failure MHA is not switched
Comparison of similarities and differences between easynvr video edge computing gateway and easynvr software versions
04. Tencent cloud IOT device side learning - network connection and device authentication
Open up the construction of enterprise digital procurement, and establish a new and efficient service mode for raw material enterprises