File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import {
26
26
import { widget } from "./widget" ;
27
27
import { useTheme } from "./useTheme" ;
28
28
import { ProcessorProvider } from "./livekit/TrackProcessorContext" ;
29
- import { useUrlParams } from "./UrlParams" ;
29
+ // import { useUrlParams } from "./UrlParams";
30
30
31
31
const SentryRoute = Sentry . withSentryReactRouterV7Routing ( Route ) ;
32
32
@@ -55,7 +55,7 @@ const ThemeProvider: FC<SimpleProviderProps> = ({ children }) => {
55
55
} ;
56
56
57
57
export const App : FC = ( ) => {
58
- const { controlledOutput } = useUrlParams ( ) ;
58
+ // const { controlledOutput } = useUrlParams();
59
59
const [ loaded , setLoaded ] = useState ( false ) ;
60
60
useEffect ( ( ) => {
61
61
Initializer . init ( )
@@ -92,7 +92,7 @@ export const App: FC = () => {
92
92
< Suspense fallback = { null } >
93
93
< ClientProvider >
94
94
< ProcessorProvider >
95
- { controlledOutput ? (
95
+ { true ? (
96
96
< ControlledOutputMediaDevicesProvider >
97
97
{ inner }
98
98
</ ControlledOutputMediaDevicesProvider >
Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ function useControlledOutput(): MediaDevice {
325
325
) ;
326
326
const earpiceDevice = useObservableEagerState (
327
327
setOutputDevices$ . pipe (
328
+ startWith < OutputDevice [ ] > ( [ ] ) ,
328
329
map ( ( devices ) => devices . find ( ( d ) => d . forEarpiece ) ) ,
329
330
) ,
330
331
) ;
You can’t perform that action at this time.
0 commit comments