(_stream: MediaStream, agentId?: string, streamType?: 'camera' | 'screen')
| 79 | * @returns The raw Base64 string (without the data URI prefix) or null on failure. |
| 80 | */ |
| 81 | export async function captureScreenImage(_stream: MediaStream, agentId?: string, streamType?: 'camera' | 'screen'): Promise<string | null> { |
| 82 | const type = streamType || 'screen'; |
| 83 | return StreamManager.captureFrame(type, agentId); |
| 84 | } |
no test coverage detected