diff --git a/dita/RTC-NG/API/class_externalvideoframe.dita b/dita/RTC-NG/API/class_externalvideoframe.dita index 4eedcbf5053..6460ba4ac78 100644 --- a/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/dita/RTC-NG/API/class_externalvideoframe.dita @@ -200,6 +200,7 @@ struct ExternalVideoFrame { public ALPHA_STITCH_MODE alphaStitchMode; public IntPtr d3d11Texture2d; public int textureSliceIndex; + public ColorSpace colorSpace; }; export class ExternalVideoFrame { type?: VideoBufferType; @@ -311,6 +312,9 @@ class ExternalVideoFrame { @JsonKey(name: 'textureSliceIndex') final int? textureSliceIndex; + @JsonKey(name: 'colorSpace') + final ColorSpace? colorSpace; + factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) => _$ExternalVideoFrameFromJson(json);