diff --git a/docs/api/structures/desktop-capturer-source.md b/docs/api/structures/desktop-capturer-source.md index 2f11197b058f..5c3557afa4f6 100644 --- a/docs/api/structures/desktop-capturer-source.md +++ b/docs/api/structures/desktop-capturer-source.md @@ -3,7 +3,10 @@ * `id` String - The identifier of a window or screen that can be used as a `chromeMediaSourceId` constraint when calling [`navigator.webkitGetUserMedia`]. The format of the identifier will be - `window:XX` or `screen:XX`, where `XX` is a random generated number. + `window:XX:YY` or `screen:ZZ:0`. XX is the windowID/handle. YY is 1 for + the current process, and 0 for all others. ZZ is a sequential number + that represents the screen, and it does not equal to the index in the + source's name. * `name` String - A screen source will be named either `Entire Screen` or `Screen `, while the name of a window source will match the window title.