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