xqq / mpegts.js

HTML5 MPEG2-TS / FLV Stream Player
Apache License 2.0
1.69k stars 214 forks source link

播放H265的flv直播流在windows10上的edge 115.0.1901.188(正式版本)(64位)报js错误。 #127

Open fkepesc opened 1 year ago

fkepesc commented 1 year ago

这个问题如何解决呢? 环境:windows10, edge 115.0.1901.188(正式版本)(64位) 直播流:h265的flv或ts流都会报错 控制台错误信息: Failed to execute 'addSourceBuffer' on 'MediaSource': The type provided ('video/mp4;codecs=hvc1.1.1.L123.B0') is unsupported. 检查支持情况为: { "msePlayback": true, "mseLivePlayback": true, "mseH265Playback": false, "networkStreamIO": true, "networkLoaderName": "fetch-stream-loader", "nativeMP4H264Playback": true, "nativeMP4H265Playback": false, "nativeWebmVP8Playback": true, "nativeWebmVP9Playback": true }

但在同一台电脑上使用最新的chrome浏览器能正常播放。

soleren commented 1 year ago

same error on mint, chrome 116.05845.110, firefox 115.0.2

547daxia commented 11 months ago

和你一样的问题

thy486 commented 11 months ago

检查浏览器硬件加速设置

823639792 commented 11 months ago

edge 需要花钱买解码器,才能支持h265

xcchcaptain commented 3 weeks ago

1 检查显卡是否支持HEVC,如果显卡支持,仍然不能播放,检查显卡驱动是否需要升级 2 建议使用chrome测试,硬件支持的情况下,chrome支持HEVC硬解,Edge需要去商城装扩展(付费)