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