Camera Streaming in Rust

how media streaming work in leptos framework? like when I click the button the camera going to activate and display in the video elements?