Description
Have you read the FAQ and checked for duplicate open issues?
β Yes
If the problem is related to FairPlay, have you read the tutorial?
N/A
What version of Shaka Player are you using?
π "shaka-player": "4.11.0"
Can you reproduce the issue with our latest release version?
β Yes
Can you reproduce the issue with the latest code from main?
β Yes
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?
Yes
What browser and OS are you using?
π₯ Browser: Chrome 132.0.0.0
π₯ OS: WebOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
πΊ Device: LG WebOS TV
π Firmware Version: Varies
What are the manifest and license server URIs?
π₯ Manifest URI:
https://stream-us-east-1.getpublica.com/playlist.m3u8?network_id=4608&live=0&avod=1
(Let me know if you prefer to share this privately.)
π License Server URI: (If applicable)
What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
π Configuration:
{
"streaming": {
"bufferBehind": 30,
"retryParameters": {
"maxAttempts": 5,
"baseDelay": 1000
}
}
}
(Provide the actual configuration output from your console if different.)
What did you do?
Loaded an HLS stream with Shaka Player 4.11.0
Tried playing on LG WebOS / Vizio Smart TV
Encountered the following error:
Shaka Error MEDIA.MEDIA_SOURCE_OPERATION_THREW
(NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource':
The type provided ('binary/octet-stream; codecs="avc1.64001f"') is unsupported.,
The mediaSource_ status was open expected 'open')
What did you expect to happen?
β
The video should play without issues.
What actually happened?
β Playback fails with the error:
MEDIA.MEDIA_SOURCE_OPERATION_THREW (NotSupportedError: Failed to execute 'addSourceBuffer' on 'MediaSource')
Are you planning to send a PR to fix it?
π€ Not at the moment.
Possible Causes & Fixes
πΉ Codec Issue:
avc1.64001f may not be supported on your device.
Try changing the codec to a more compatible one (avc1.4d001e or avc1.42E01E).
Run MediaSource.isTypeSupported('video/mp4; codecs="avc1.64001f"') in the browser console to check compatibility.
πΉ Incorrect mediaSource_ State:
The MediaSource might not be in the correct open state when adding a buffer.
Ensure MediaSource.readyState === "open" before calling addSourceBuffer().
πΉ HLS Playlist Issue:
Check if the .m3u8 file provides alternate codec options.
Test the stream in Shaka Player Demo App to confirm if it's a player-specific issue.
πΉ Workarounds to Try:
Use the hls.js library instead of Shaka for testing.
Transcode the content using FFmpeg to a more widely supported codec.
Upgrade to the latest Shaka Player version if available.