Skip to content

Commit

Permalink
add color space in external video frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Suri539 committed Nov 19, 2024
1 parent a88bb65 commit 818d059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dita/RTC-NG/API/class_externalvideoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ struct ExternalVideoFrame {
public ALPHA_STITCH_MODE alphaStitchMode;
public IntPtr d3d11Texture2d;
public int textureSliceIndex;
public ColorSpace colorSpace;
};</codeblock>
<codeblock props="rn" outputclass="language-typescript">export class ExternalVideoFrame {
type?: VideoBufferType;
Expand Down Expand Up @@ -311,6 +312,9 @@ class ExternalVideoFrame {
@JsonKey(name: &#x27;textureSliceIndex&#x27;)
final int? textureSliceIndex;

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

factory ExternalVideoFrame.fromJson(Map&lt;String, dynamic&gt; json) =&gt;
_$ExternalVideoFrameFromJson(json);

Expand Down

0 comments on commit 818d059

Please sign in to comment.