Description
Integrate the existing browser streaming service with the AI Orchestrator service to enable real-time visualization and user control of Playwright-controlled Chromium browsers during automation sessions.
Background
The streaming/input service logic is already implemented. Now we need to connect it to the Playwright browser running in Weave, allowing users to watch automation in real-time and take manual control when needed.
Requirements
Integration Tasks
- Connect existing streaming service to the AI Orchestrator's Playwright browser instances
- Route browser viewport data from AI Orchestrator to the streaming service
- Pipe user input from stream back to Playwright in AI Orchestrator
- Handle session handoff between AI automation and manual user control
Multi-tab Support
- Stream multiple browser tabs/contexts simultaneously
- Provide tab switching UI in the frontend
- Maintain correct input routing to active tab
Performance & Monitoring
- Implement configurable FPS caps (15fps, 30fps, 60fps)
- Add adjustable resolution settings
- Stream health metrics dashboard:
- Latency measurements
- Frame drop rate
- Connection status
- Bandwidth usage
Acceptance Criteria
Later TODOs
- When the user interacts with the web-browser, it pauses the LangGraph agents and any deterministic automation.
Description
Integrate the existing browser streaming service with the AI Orchestrator service to enable real-time visualization and user control of Playwright-controlled Chromium browsers during automation sessions.
Background
The streaming/input service logic is already implemented. Now we need to connect it to the Playwright browser running in Weave, allowing users to watch automation in real-time and take manual control when needed.
Requirements
Integration Tasks
Multi-tab Support
Performance & Monitoring
Acceptance Criteria
Later TODOs