30 | {!isSmartphone ? (
31 |
32 |
33 |
34 | ) : (
35 |
{roomId}
36 | )}
37 |
38 | {!isSmartphone && (
39 | <>
40 | Invite link
41 |
53 | >
54 | )}
55 | {
60 | setOpen(true);
61 | }}
62 | variant="light"
63 | position="bottom"
64 | hoverClassName="-ml-10"
65 | />
66 |
67 |
68 | );
69 | };
70 |
71 | export default Navbar;
72 |
--------------------------------------------------------------------------------
/assets/src/pages/room/components/StreamPlayer/RemoteMediaPlayerTile.tsx:
--------------------------------------------------------------------------------
1 | import { ComponentProps, FC } from "react";
2 | import { TrackEncoding } from "@fishjam-dev/react-client";
3 | import { useAutomaticEncodingSwitching } from "../../hooks/useAutomaticEncodingSwitching";
4 | import { SimulcastEncodingToReceive } from "./simulcast/SimulcastEncodingToReceive";
5 | import GenericMediaPlayerTile from "./GenericMediaPlayerTile";
6 | import { useTracks } from "../../../../fishjam.ts";
7 | import { StatisticsLayer } from "./StatisticsLayer.tsx";
8 | import { useDeveloperInfo } from "../../../../contexts/DeveloperInfoContext.tsx";
9 |
10 | export type Props = {
11 | peerId: string | null;
12 | remoteVideoTrackId: string | null;
13 | remoteAudioTrackId: string | null;
14 | encodingQuality: TrackEncoding | null;
15 | showSimulcast: boolean;
16 | forceEncoding: TrackEncoding | null;
17 | } & ComponentProps