Analysis and solution to the problem of abnormal loading of H.265 HLS video stream played by EasyPlayer

EasyPlayer is a streaming media player that supports H.264/H.265 video playback. It has stable performance and smooth playback. The supported video streaming formats include RTSP, RTMP, HLS, FLV, WebRTC, etc. In order to meet the diverse needs of users, we have also launched various versions based on EasyPlayer, including EasyPlayer-RTSP, EasyPlayer.js, EasyPlayerPro, etc.

When we tested the new features of the player, we found that when EasyPlayer played the H.265-encoded HLS format video stream, there was a loading exception. So we investigated the situation.

After reproducing the problem, it was found that two video tags appeared in the player loading. It is guessed that the video tag of the player was not successfully destroyed when H.265 was initialized.

Add the code here before destroying the native player, so as to solve the problem of loading the video tag twice.

EasyPlayer has high usability. The platform of TSINGSEE Qingxi Video integrates EasyPlayer player and can be applied in various scenarios, including mobile live broadcast, desktop live broadcast, distance education classroom live broadcast, etc. EasyPlayer also has Windows, Android, and iOS versions. Its flexible video capabilities greatly meet the needs of users in diverse scenarios. If you are interested in EasyPlayer, you can also download the demo to test and understand.

Guess you like

Origin blog.csdn.net/TsingSee/article/details/127516711