Explorar o código

* Add EncodedVideoChunk.copyTo

Michael Van Canneyt hai 3 meses
pai
achega
225f7d5de6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      packages/rtl/src/weborworker.pas

+ 3 - 0
packages/rtl/src/weborworker.pas

@@ -1959,6 +1959,9 @@ type
     Ftype: string; external name 'type';
   Public
     constructor new(aOptions : TJSEncodedVideoChunkOptions);
+    procedure copyTo(aDestination : TJSArrayBuffer);
+    procedure copyTo(aDestination : TJSTypedArray);
+    procedure copyTo(aDestination : TJSDataView);
     property byteLength : NativeInt Read FbyteLength;
     property timestamp : NativeInt Read Ftimestamp;
     property duration : NativeInt Read FDuration;