A VideoStreamEncoder may have been freed in a race condition with VideoBroadcaster::AddOrUpdateSink resulting in a use-after-free memory corruption and a potentially exploitable crash. This vulnerability affects Firefox < 78.