videojs / http-streaming

HLS, DASH, and future HTTP streaming protocols library for video.js
https://videojs-http-streaming.netlify.app/
Other
2.51k stars 424 forks source link

Option to force video detection regardless of codecs in manifest? #748

Open deltafactory opened 4 years ago

deltafactory commented 4 years ago

Description

This is a request for compatibility in situations where the HLS provider does not accurately specify codecs in the media chunks. In my situation, my HLS provider offered the following as one of the options even though the media included a properly encoded video stream.

#EXT-X-STREAM-INF:BANDWIDTH=2846000,CODECS="mp4a.40.2"

VLC and JWPlayer both found and displayed the video components of these streams. I have confirmed that the manifest received by each were incorrect using Wireshark (VLC) and browser dev tools (JWPlayer).

Sources

A different example (perhaps with the same cause) can be found here: https://www.wowza.com/community/questions/50063/ndvr-avc-codec-missing-in-hls-playlist.html

Steps to reproduce

I will provide a test case if I can determine the cause. should be created by modifying the master playlist of a static stream. The online test player can be used to reproduce: https://videojs.github.io/http-streaming/

Results

Expected

As a feature request, I would like an option to force video (specify the codec params?) during the source setup. Alternately, the missing media track could be detected automatically.

Error output

N/A - video.js is technically correct.

videojs-http-streaming version

what version of videojs-http-streaming does this occur with? videojs-http-streaming x.y.z

videojs version

what version of videojs does this occur with? video.js 7.6.6

Browsers

what browsers are affected? please include browser and version for each

welcome[bot] commented 4 years 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.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gkatsev commented 4 years ago

That's an interesting idea and we'll consider it. Right now we're trying to wrap up work on getting what's in master shipped.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.