feat: remove getMediaSourceIdForWebContents() (#25414)
This reverts commit 204f001c5d
.
This commit is contained in:
parent
5de7eb3618
commit
9f4a097e03
9 changed files with 1 additions and 175 deletions
|
@ -16,7 +16,3 @@ function getCurrentStack () {
|
|||
export async function getSources (options: Electron.SourcesOptions) {
|
||||
return deserialize(await ipcRendererInternal.invoke('ELECTRON_BROWSER_DESKTOP_CAPTURER_GET_SOURCES', options, getCurrentStack()));
|
||||
}
|
||||
|
||||
export function getMediaSourceIdForWebContents (webContentsId: number) {
|
||||
return ipcRendererInternal.invoke<string>('ELECTRON_BROWSER_DESKTOP_CAPTURER_GET_MEDIA_SOURCE_ID_FOR_WEB_CONTENTS', webContentsId, getCurrentStack());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue