mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 13:37:47 +02:00
* Re add getUserMedia
This commit is contained in:
parent
36c36ec61a
commit
9c54017897
@ -1481,6 +1481,7 @@ Type
|
|||||||
function getDisplayMedia: TJSPromise;
|
function getDisplayMedia: TJSPromise;
|
||||||
function getDisplayMedia(options : TJSObject) : TJSPromise; overload;
|
function getDisplayMedia(options : TJSObject) : TJSPromise; overload;
|
||||||
function getDisplayMedia(options : TJSMediaConstraints) : TJSPromise; overload;
|
function getDisplayMedia(options : TJSMediaConstraints) : TJSPromise; overload;
|
||||||
|
function getUserMedia(aConstraint : TJSOBject) : TJSPromise;
|
||||||
function selectAudioOutput : TJSMediaDeviceInfo; async;
|
function selectAudioOutput : TJSMediaDeviceInfo; async;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user