Commit Graph

2 Commits

Author SHA1 Message Date
Xin Wang
fe443932f0 Refactor AI Element2 Gated Copilot script for improved audio handling
- Update the description to clarify that participant audio is fed into AI after both sides are connected.
- Introduce new functions to manage audio track patterns and enhance the logic for determining participant and operator presence.
- Improve gate status messaging to reflect the online status of participants and operators.
- Add volume handling functions for better audio visualization and feedback.
- Refactor existing functions to streamline audio processing and improve overall code clarity.
2026-07-09 08:54:15 +08:00
Xin Wang
4601aeab75 Add AI Element2 Gated Copilot script for enhanced media interaction
- Introduce a new user script `copilot-element2-two-party.js` that implements a two-party gated bridge for audio input to AI, ensuring both sides are connected before processing.
- Implement functionality for managing audio and video tracks, including recording capabilities for AI input.
- Enhance chat logging features to provide real-time feedback on AI interactions and recording status.
- Integrate mechanisms for handling media streams, improving overall media management in the WebRTC environment.
2026-07-09 08:41:57 +08:00