ElectronWebContents.getMediaSourceId method
ElectronWebContents › getMediaSourceId
Unofficial
Returns the identifier of a web contents stream.Signature:
getMediaSourceId(requestWebContents: ElectronWebContents): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| requestWebContents | ElectronWebContents | The web contents that would access the stream. |
Returns: string — The identifier of the web contents stream.