AvanzaCast/packages/studio-panel/vite.config.ts.timestamp-1762497626946-f3a7a31a30d1.mjs
Cesar Mendivil f57ce90c11 feat: Enhance StudioControls with presentation and layout features
- Added props for handling presentation and screen sharing actions.
- Implemented buttons for opening presentation panel and changing layouts (grid/focus) and modes (video/audio).
- Updated UI to reflect active presentations and added functionality to clear presentations.

fix: Adjust StudioLeftSidebar and StudioRightPanel for full height

- Modified styles to ensure both sidebars occupy full height of the container.

feat: Introduce ParticipantsPanel for managing participants in the conference

- Created ParticipantsPanel component to display connected and invited participants.
- Integrated API calls to fetch invited participants and handle connection status.

feat: Implement PresentationPanel for sharing presentations

- Developed PresentationPanel component to handle file uploads and screen sharing.

refactor: Update StudioVideoArea to support layout and mode changes

- Refactored StudioVideoArea to accept layout and mode props, rendering appropriate conference views.

feat: Add AudioConference and VideoConference prefabs for audio and video handling

- Created AudioConference and VideoConference components to manage respective media streams.

feat: Introduce Chat component for real-time messaging

- Developed Chat component to facilitate messaging between participants.

feat: Implement ControlBar for user controls in the conference

- Created ControlBar component for managing participant actions like leaving the conference and toggling audio/video.

feat: Add PreJoin component for pre-conference setup

- Developed PreJoin component to allow users to preview video before joining the conference.

chore: Update Vite configuration for better module resolution

- Enhanced Vite config to include path aliases for easier imports across the project.

chore: Add TypeScript definitions for environment variables

- Created env.d.ts to define types for environment variables used in the project.
2025-11-07 14:29:14 -07:00

26 lines
3.2 KiB
JavaScript

// vite.config.ts
import { defineConfig, loadEnv } from "file:///home/xesar/Documentos/Nextream/AvanzaCast/node_modules/vite/dist/node/index.js";
import react from "file:///home/xesar/Documentos/Nextream/AvanzaCast/node_modules/@vitejs/plugin-react/dist/index.mjs";
var vite_config_default = defineConfig(({ mode }) => {
const env = loadEnv(mode, "../../", "");
return {
plugins: [react()],
server: {
port: 3020,
host: true,
// Usar HTTP en dev para pruebas E2E locales (localhost permite getUserMedia sin HTTPS en muchos navegadores)
watch: { usePolling: true }
},
define: {
// Exponer variables de entorno al cliente
"import.meta.env.VITE_LIVEKIT_URL": JSON.stringify(env.LIVEKIT_URL),
"import.meta.env.VITE_LIVEKIT_API_KEY": JSON.stringify(env.LIVEKIT_API_KEY),
"import.meta.env.VITE_LIVEKIT_API_SECRET": JSON.stringify(env.LIVEKIT_API_SECRET)
}
};
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvaG9tZS94ZXNhci9Eb2N1bWVudG9zL05leHRyZWFtL0F2YW56YUNhc3QvcGFja2FnZXMvc3R1ZGlvLXBhbmVsXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCIvaG9tZS94ZXNhci9Eb2N1bWVudG9zL05leHRyZWFtL0F2YW56YUNhc3QvcGFja2FnZXMvc3R1ZGlvLXBhbmVsL3ZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9ob21lL3hlc2FyL0RvY3VtZW50b3MvTmV4dHJlYW0vQXZhbnphQ2FzdC9wYWNrYWdlcy9zdHVkaW8tcGFuZWwvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcsIGxvYWRFbnYgfSBmcm9tICd2aXRlJ1xuaW1wb3J0IHJlYWN0IGZyb20gJ0B2aXRlanMvcGx1Z2luLXJlYWN0J1xuXG5leHBvcnQgZGVmYXVsdCBkZWZpbmVDb25maWcoKHsgbW9kZSB9KSA9PiB7XG4gIC8vIENhcmdhciB2YXJpYWJsZXMgZGUgZW50b3JubyBkZWwgZGlyZWN0b3JpbyByYVx1MDBFRHpcbiAgY29uc3QgZW52ID0gbG9hZEVudihtb2RlLCAnLi4vLi4vJywgJ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