This message was deleted.
# helpdesk
s
This message was deleted.
p
This should be pretty straight forward using components-react. Some pseudo code:
Copy code
const myTargetUserId = 'streamer';

const streamerCameraTrack = useTracks([Track.Source.Camera]).filter({participant} => participant.identity === myTargetUserId)[0];

return <VideoTrack trackRef={streamerCameraTrack} />
b
Thanks for the response! Yeah that should work on the client, but when we export to egress, we don’t want to use the standard layouts such as “grid” or “speaker” but instead a particiant ID that we send. So, my question was how would i set that up as a custom layout or use pinned tracks as a feature to implement that as an exportable egress layout