begin Playing
Runs the advance and render loop while lifecycle is RESUMED.
The caller is expected to launch this from their own coroutine scope. It blocks the calling coroutine with a ticker loop, so it should typically be launched in a separate scope from the caller's main work.
If the session is closed while this is running, the loop will exit, the function will return, and the session will stop advancing and rendering frames.
Ensure setRegion has been called with a valid region before calling this. Without a valid region, the state machine will not be advanced and no frames will be rendered.
Throws
If this session has been closed at the time of calling or is already playing, or if its active render surface is closed while submitting render work.
If hardware first-frame publication times out or image acquisition fails.