Răsfoiți Sursa

* Add EncodedVideoChunk.copyTo

Michael Van Canneyt 3 luni în urmă
părinte
comite
225f7d5de6
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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;