Browse Source

* Add EncodedVideoChunk.copyTo

Michael Van Canneyt 3 months ago
parent
commit
225f7d5de6
1 changed files with 3 additions and 0 deletions
  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;