It seems that cb changed its urls for the hls streams without changing them in the api response. With the following regex, I was able to fix them: data.hls_source.replaceAll(/(https:\/\/.*.com\/live-)edge(\/.*\/playlist)(.m3u8.*)/g, '$1fhls$2_sfm4s$3');
It seems that cb changed its urls for the hls streams without changing them in the api response.
With the following regex, I was able to fix them:
data.hls_source.replaceAll(/(https:\/\/.*.com\/live-)edge(\/.*\/playlist)(.m3u8.*)/g, '$1fhls$2_sfm4s$3');