Files
discord-decomp/_bundle/Camera.jsx
T
2026-11-01 12:12:55 +02:00

19 lines
418 B
React

// Metro module 4293 (f4294).
import Video from "./Video";
const Camera = function Camera(props) {
const { disabled, deviceId, width, height } = props;
return disabled ? <div className="media-engine-video" style={{
width,
height
}} /> : <Video streamId={deviceId} style={{
width,
height
}} />;
};
Camera.defaultProps = {
disabled: false,
width: 320,
height: 180
};
export default Camera;