add support for streaming while rendering