fix: update timeout values in getWebstreamerStream and getRiveStream functions; bump version to 1.6 in manifest

This commit is contained in:
Himanshu
2025-12-29 10:46:55 +05:30
parent 3c6f277db0
commit 4e7d6f56aa
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -10,7 +10,7 @@
{ {
"display_name": "MultiStream", "display_name": "MultiStream",
"value": "autoEmbed", "value": "autoEmbed",
"version": "1.5", "version": "1.6",
"icon": "", "icon": "",
"type": "global", "type": "global",
"disabled": false "disabled": false

View File

@@ -67,7 +67,7 @@ export async function getWebstreamerStream(
console.log("Webstreamer URL: ", encodeURI(url)); console.log("Webstreamer URL: ", encodeURI(url));
try { try {
const res = await providerContext.axios.get(encodeURI(url), { const res = await providerContext.axios.get(encodeURI(url), {
timeout: 5000, timeout: 30000,
headers: providerContext.commonHeaders, headers: providerContext.commonHeaders,
}); });
res.data?.streams.forEach((source: any) => { res.data?.streams.forEach((source: any) => {
@@ -132,7 +132,7 @@ export async function getRiveStream(
console.log("Rive: " + url + server); console.log("Rive: " + url + server);
try { try {
const res = await providerContext.axios.get(url + server, { const res = await providerContext.axios.get(url + server, {
timeout: 4000, timeout: 8000,
}); });
const subtitles: TextTracks = []; const subtitles: TextTracks = [];
// if (res.data?.data?.captions) { // if (res.data?.data?.captions) {