Closed ThibaultNocchi closed 3 years ago
That says the contentType
for your audio is "video/mp4; codecs="mp4a.40.2"
.
Is that how it is listed in your manifest? E.g. does the AdaptationSet
with contentType="audio"
have representations with mimeType="video/mp4"
?
The MediaCapabilities browser API, which we started using in v3.2, is expecting "audio/mp4; codecs="mp4a.40.2"
instead.
Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including @shaka-bot reopen
in a comment.
Have you read the FAQ and checked for duplicate open issues? Yes I did
What version of Shaka Player are you using? 3.2.0
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from
master
? Yes (I installed master withnpm i GITHUB_LINK
and loaded the uncompiled JS, is there anything else to try?)Are you using the demo app or your own custom app? Custom app
If custom app, can you reproduce the issue using our demo app? No
What browser and OS are you using? Firefox and Chrome, Linux
For embedded devices (smart TVs, etc.), what model and firmware version are you using? N/A
What are the manifest and license server URIs?
This is part of Jellyfin project, and one needs to be authenticated to playback.
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do?
I try to load a fMP4 file through an HLS manifest with AAC audio.
What did you expect to happen? To work. It also works with MP3 audio, TS container, on iOS. Also, it works as is if I downgrade to 3.1.2, which seems like to be a regression then.
What actually happened?
I get an error 4032 and this console message and nothings starts:
MediaCapabilities.decodingInfo() failed.
TypeError: MediaCapabilities.decodingInfo: Invalid AudioConfiguration. probeDecodingInfo_ shaka-player.compiled.debug.js:1925 nextStep_ shaka-player.compiled.debug.js:37 next_ shaka-player.compiled.debug.js:33 next shaka-player.compiled.debug.js:38 asyncExecutePromiseGenerator shaka-player.compiled.debug.js:39 asyncExecutePromiseGenerator shaka-player.compiled.debug.js:39 asyncExecutePromiseGeneratorProgram shaka-player.compiled.debug.js:39 shaka-player.compiled.debug.js:283
Also, usage can be found here https://github.com/jellyfin/jellyfin-vue/blob/a43e19c9331d8587ee0c65051670d06ac9b3bb4e/src/components/Players/ShakaPlayer.vue#L99