当前位置:网站首页>The easyplayer player displays compileerror:webassembly Reason for instance() and its solution

The easyplayer player displays compileerror:webassembly Reason for instance() and its solution

2022-06-24 04:58:00 Tsingsee green rhino video

As we all know EasyPlayer The player series is a very stable and comprehensive video player , covers PC End 、 Mobile terminal 、 Play versions of various systems, such as the web side , also EasyPlayer The player already supports integration in EasyGBS、EasyNVR、EasyCVR And other streaming media platforms , Experience H265 Encoded video playback effect .

Some customers are using EasyPlayer The player will encounter some calling problems , For example EasyGBS It can play , But after calling the overcurrent address, use EasyPlayer The player cannot play , And report an error at the console :

This is EasyPlayer Common player errors , There are two main reasons , Let's analyze and explain one by one .

The reason a :

This video stream is h265 Of , So we need to support H265 Player version to play . The reason for this error is that it was not found libDecoder.Wasm This file , It is likely that the player version used by the user is in github Up and down demo, No 265 But H5-player.

In this case, you should H265 Of demo There are added libDecoder.Wasm This file will do .

Reason two :

The customer did not start the player with the service , But use this directly demo File to start the , This will also result in an error . Our players are service-based , We need to take this. demo The file is placed in the root directory of the service and cannot be placed in another directory .

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/08/20210831000344726u.html