Skip to content

Commit

Permalink
[AUTO] Update native headers to 4.4 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
sda-rob and guoxianzhe authored Jul 24, 2024
1 parent 2a60c30 commit 2d8c25d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
20 changes: 10 additions & 10 deletions headers/rtc_4.4.0/include/AgoraMediaBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -820,14 +820,14 @@ struct ExternalVideoFrame {
eglContext(NULL),
eglType(EGL_CONTEXT10),
textureId(0),
fence_object(0),
metadata_buffer(NULL),
metadata_size(0),
fenceObject(0),
metadataBuffer(NULL),
metadataSize(0),
alphaBuffer(NULL),
fillAlphaBuffer(false),
alphaStitchMode(NO_ALPHA_STITCH),
d3d11_texture_2d(NULL),
texture_slice_index(0){}
d3d11Texture2d(NULL),
textureSliceIndex(0){}

/**
* The EGL context type.
Expand Down Expand Up @@ -933,7 +933,7 @@ struct ExternalVideoFrame {
* [Texture related parameter] The fence object related to the textureId parameter, indicating the synchronization status of the video data in Texture format.
* The default value is 0
*/
long long fence_object;
long long fenceObject;
/**
* [Texture related parameter] Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
*/
Expand All @@ -942,12 +942,12 @@ struct ExternalVideoFrame {
* [Texture related parameter] The MetaData buffer.
* The default value is NULL
*/
uint8_t* metadata_buffer;
uint8_t* metadataBuffer;
/**
* [Texture related parameter] The MetaData size.
* The default value is 0
*/
int metadata_size;
int metadataSize;
/**
* Indicates the alpha channel of current frame, which is consistent with the dimension of the video frame.
* The value range of each pixel is [0,255], where 0 represents the background; 255 represents the foreground.
Expand All @@ -973,12 +973,12 @@ struct ExternalVideoFrame {
/**
* [For Windows only] The pointer of ID3D11Texture2D used by the video frame.
*/
void *d3d11_texture_2d;
void *d3d11Texture2d;

/**
* [For Windows only] The index of ID3D11Texture2D array used by the video frame.
*/
int texture_slice_index;
int textureSliceIndex;

/**
* metadata info used for hdr video data
Expand Down
5 changes: 0 additions & 5 deletions headers/rtc_4.4.0/include/IAgoraRtcEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -8355,11 +8355,6 @@ enum MEDIA_DEVICE_STATE_TYPE {
/** 2: The device is disabled.
*/
MEDIA_DEVICE_STATE_DISABLED = 2,

/** 3: The device is plugged in.
*/
MEDIA_DEVICE_STATE_PLUGGED_IN = 3,

/** 4: The device is not present.
*/
MEDIA_DEVICE_STATE_NOT_PRESENT = 4,
Expand Down

0 comments on commit 2d8c25d

Please sign in to comment.