Commit Graph

2 Commits

Author SHA1 Message Date
Xin Wang
97ac7ef79e Add video stream capture functionality in copilot.js
- Introduce a new function to capture video streams from playable HTML elements, enhancing the ability to process remote video feeds.
- Implement logic to manage and store captured video streams, ensuring only live tracks are utilized.
- Update existing audio processing functions to integrate video handling, improving overall media management in the WebRTC environment.
- Enhance logging for better debugging and user feedback regarding video stream capture status.
2026-07-08 00:40:57 +08:00
Xin Wang
32a52d318a Add AI Copilot WebRTC script for enhanced audio processing and monitoring
- Introduce a new user script `copilot.js` for WebRTC that implements PCM ScriptProcessor to address packet loss issues.
- Add features for real-time audio monitoring and improved audio stream handling, including mechanisms for capturing and processing remote audio streams.
- Implement a robust audio context setup with gain nodes and oscillators for enhanced audio management.
- Enhance logging and state management for better debugging and monitoring of audio streams in the WebRTC environment.
2026-07-07 16:22:51 +08:00