mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Replace the frozen-object-with-getter pattern for generating native picker source IDs with a simpler createNativePickerSource() function. Each call produces a unique DesktopMediaID so Chromium treats concurrent streams as distinct. Add clear comments explaining the magic kMacOsNativePickerId (-4) constant and why unique window_ids are needed. Notes: none