Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyuagora committed Aug 15, 2024
1 parent e33842e commit 9f5eec9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions dita/RTC-NG/API/class_externalvideoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ class ExternalVideoFrame {
this.fillAlphaBuffer,
this.alphaStitchMode,
this.d3d11Texture2d,
this.textureSliceIndex,
this.colorSpace});
this.textureSliceIndex});

@JsonKey(name: 'type')
final VideoBufferType? type;
Expand Down Expand Up @@ -290,9 +289,6 @@ class ExternalVideoFrame {
@JsonKey(name: 'textureSliceIndex')
final int? textureSliceIndex;

@JsonKey(name: 'colorSpace')
final ColorSpace? colorSpace;

factory ExternalVideoFrame.fromJson(Map<String, dynamic> json) =>
_$ExternalVideoFrameFromJson(json);

Expand Down
6 changes: 1 addition & 5 deletions dita/RTC-NG/API/class_videoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,7 @@ class VideoFrame {
this.alphaBuffer,
this.alphaStitchMode,
this.pixelBuffer,
this.metaInfo,
this.colorSpace});
this.metaInfo});

@JsonKey(name: 'type')
final VideoPixelFormat? type;
Expand Down Expand Up @@ -597,9 +596,6 @@ class VideoFrame {
@JsonKey(name: 'metaInfo')
final VideoFrameMetaInfo? metaInfo;

@JsonKey(name: 'colorSpace')
final ColorSpace? colorSpace;

factory VideoFrame.fromJson(Map<String, dynamic> json) =>
_$VideoFrameFromJson(json);

Expand Down

0 comments on commit 9f5eec9

Please sign in to comment.