import { useStreamplaceStore, View, zero } from "@streamplace/components";
import { Redirect } from "components/aqlink";
import { Player } from "../../components/mobile/player";
const BBB_HLS_URL = "https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8";
function usePlaybackUrl(user: string, tid: string): string {
const serverUrl = useStreamplaceStore((x) => x.url);
return `at://${user}/place.stream.video/${tid}`;
}
export default function VideoScreen({
route,
}: {
route?: { params?: { user?: string; tid?: string } };
}) {
if (!route?.params?.user || !route?.params?.tid) {
return ;
}
const url = usePlaybackUrl(route.params.user, route.params.tid);
return (
{/*{src && (
{src}
)}*/}
);
}