This is a backport PR for branch 44-x-y
trop[bot]

#53709: fix: require a registered source id for webContents capture via getUserMedia

Merged
Created: Sep 7, 2026, 2:43:44 PM
Merged: Sep 7, 2026, 5:23:04 PM
1 comments
Target: 44-x-y

Backport of #53687

See that PR for details.

Notes: getUserMedia with chromeMediaSource: 'desktop' no longer accepts WebContents source ids; use chromeMediaSource: 'tab' with webContents.getMediaSourceId() or setDisplayMediaRequestHandler to capture a WebContents.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Sep 7, 2026, 2:43:12 PM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron