On Tue Nov 19 13:45:07 2024 +0000, Conor McCarthy wrote:
With the changes I've made, `MESourceStarted` should be received even if the source is shutdown before the start async command executes. Is that sufficient to solve that issue?
Delay shutting down the event queue will keep the media source async commands running, and events to be received, which is not supposed to happen after Shutdown has been called, unless tests show otherwise.
IMO the bug is in the media session state machine and should be fixed there.