videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.48k stars 7.4k forks source link

HLS playlist request error at URL #8335

Open xiaoxiaohuayu opened 1 year ago

xiaoxiaohuayu commented 1 year ago

Description

An error message occurred during use:

image

I wonder if wss is not supported? Is there any solution? The test case address may be inaccurate.

Reduced test case

wss://sqjsdecoder.ys7.com:20006/

Steps to reproduce

  1. videojs('videoID',{ techOrder: ["html5"], language: "zh-CN", notSupportedMessage: "此视频暂无法播放,请稍后再试", // 允许覆盖Video.js无法播放媒体源时显示的默认信息。 vhs: { withCredentials: true, }, sources: [ { src: 'wss://sqjsdecoder.ys7.com:20006/', type: "application/x-mpegURL", }, ], }, function(){})

Errors

video.es.js:218 VIDEOJS: ERROR: (CODE:2 MEDIA_ERR_NETWORK) HLS playlist request error at URL: wss://gbs.liveqing.com:10010/sms/34020000002020000001/ws-flv/hls/12345678901234567_34020000001320000004.flv?token=aAjpLt1yTIWpeZ0aBkaT1f_r0PUrkQae8uufJZ0Yrq3.oxNjg4MDk3Mjg4LCJwIjoiYjYyM2EwNmYwMyIsInQiOjE2ODgwOTcwMzgsInUiOiJiNjIzYTA2ZjAzIn0eyJlIj.GciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJhb.

What version of Video.js are you using?

8.3.0

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

114

What OS(es) and version(s) does this occur with?

Mac OS

welcome[bot] commented 1 year ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.