feat(android): support chromecast

This commit is contained in:
2026-07-26 19:27:41 +02:00
parent 6423ed0bc5
commit 06efcbf1aa
32 changed files with 902 additions and 57 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ export const OmniProvider = ({
source,
backend = { android: "vlc" },
showNotification = false,
cast: _,
cast,
}: {
source?: Source;
cast?: CastOptions;
@@ -24,7 +24,7 @@ export const OmniProvider = ({
showNotification?: boolean;
}) => {
const player = useLazyRef(() =>
ProviderFactory.createPlayer(source, backend),
ProviderFactory.createPlayer(source, backend, cast),
);
useEffect(() => {