steep-balloon-41261
10/20/2023, 3:37 PMacoustic-engineer-41666
10/20/2023, 3:43 PMuseTracks instead of useMediaTrack? (while we’re at it, we should update the deprecation comment with instructions)dry-elephant-14928
10/20/2023, 3:45 PMeager-zoo-16408
10/20/2023, 6:24 PMVideoTrack components that you would need to start using it?eager-zoo-16408
10/20/2023, 6:31 PMconst streamTracks =
useTracks([Track.Source.Camera])
.filter((trackRef) => /* Filter for desired track */);
return (
<VideoTrack trackRef={streamTracks[0]} />
)eager-zoo-16408
10/20/2023, 6:31 PMbulky-house-11843
10/20/2023, 6:37 PMVideoTrack component translate to a 1-to-1 element with the HTML video? I'm adding the live-streaming feature for a product but we're pretty much in the beginning for this so I just wanted to know how much power I have to customize something to be able to give some perspective to our company's designer, so the deprecated way of using useRef to target a video element made me very happy because I knew I could pretty much do any styling I wanted over it.eager-zoo-16408
10/20/2023, 6:40 PMbulky-house-11843
10/20/2023, 6:41 PM