Video decoder or demuxer had an error with the content

In the web sdk both in PWA and web

{"code":3,"mediaError":"MEDIA_ERR_DECODE","message":"PIPELINE_ERROR_DECODE: Failed to send audio packet for decoding: {timestamp=2298775 duration=23219 size=7956 is_key_frame=1 encrypted=0}"}

config:

widevine: {
          LA_URL: 'https://license.pallycon.com/ri/licenseManager.do',
          mediaKeySystemConfig: {
            persistentState: 'required',
          },
          headers: widevineHeaders,
        },
        playready: {
          LA_URL: 'https://license.pallycon.com/ri/licenseManager.do',
          headers: playreadyHeaders,
        },
        fairplay: {
          LA_URL: 'https://license.pallycon.com/ri/licenseManager.do',
          // FairPlay certificate. Required for iOS.
          certificateURL:
            'https://license-global.pallycon.com/ri/fpsKeyManager.do?siteId=KL48',
          headers: fairplayHeaders,
          prepareContentId: function (cId) {
            return cId.substring(cId.indexOf('skd://') + 6);
          },
          prepareCertificate: function (rawResponse) {
            var responseText = String.fromCharCode.apply(
              null,
              new Uint8Array(rawResponse) as any,
            );
            var raw = window.atob(responseText);
            var rawLength = raw.length;
            var certificate = new Uint8Array(new ArrayBuffer(rawLength));

            for (var i = 0; i < rawLength; i++)
              certificate[i] = raw.charCodeAt(i);

            return certificate;
          },
          useUint16InitData: true,
        },

cURL of that socket error:

curl 'https://socket.tagmango.com/socket.io/?EIO=4&transport=polling&t=Oe4iNOO' \
  -H 'authority: socket.tagmango.com' \
  -H 'accept: */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'origin: https://m.tagmango.com' \
  -H 'referer: https://m.tagmango.com/' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-site' \
  -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' \
  --compressed

Dear @developer , thanks for sharing this issue. Details about MEDIA_ERR_DECODE/PLAYBACK_VIDEO_DECODING_ERROR can be found at PLAYBACK_VIDEO_DECODING_ERROR | Bitmovin Player API 8.129.0. This error could occur due to different reasons, most common being incompatible audio/video codec configuration with the platform.

Since DRM is involved, it could also be related to incorrect content key leading to incorrectly decrypted audio/video data. Can you please share following additional information to help us support you with this behaviour.

  • Which browser(Chrome/Edge/Safari) is the issue observed on?
  • Is it observed on all 3 browsers? Does playback work on any browser?
  • Which version of player SDK are you using?
  • Can you share a test player page where we can replicate the issue?
  • If not, then can you provide source configuration(including DRM configurations headers) for us to replicate this behaviour?

As the complete configuration could be confidential information, it would be better if you can create a support ticket and provide the required information in there. Thanks for your understanding.

Have found the issue. That was a problem with our older urls.

https://tagmango.com/assets/vaibhav-sketches-1649878489175.mp4final.m3u8

To fix this, we have deprecated such videos

1 Like

Thanks for the update, glad that you found the issue.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.