Update StreamsScreen.tsx

This commit is contained in:
aazz180 2025-10-18 21:35:59 +01:00 committed by GitHub
parent 6eae438300
commit bdb2803371
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1288,7 +1288,18 @@ export const StreamsScreen = () => {
`vidhub://${streamUrl}`
];
break;
case 'infuse_livecontainer': {
const infuseUrls = [
`infuse://x-callback-url/play?url=${streamUrl}`,
`infuse://play?url=${streamUrl}`,
`infuse://${streamUrl}`
];
externalPlayerUrls = infuseUrls.map(infuseUrl => {
const encoded = Buffer.from(infuseUrl).toString('base64');
return `livecontainer://open-web-page?url=${encoded}`;
});
break;
}
default:
// If no matching player or the setting is somehow invalid, use internal player
navigateToPlayer(stream);