MLWebRTCNativeFrameInfo
Public Methods
override string ToString
public override string ToString()
Public Attributes
Height
Height of the native frame
public uint Height;
NativeBufferHandle
Native buffer handle can be acquired from MLNativeSurface using MLNativeSurfaceAcquireNextAvailableFrame. Application should never release the native_buffer_handle once it is acquired. If MLWebRTCFrame is created by application to send the frame through webrtc, webrtc will release the native_buffer_handle using MLNativeSurfaceReleaseFrame after encoding. Application should not release the native_buffer_handle send by webrtc for rendering whether it is local or remote sink.
public ulong NativeBufferHandle;
SurfaceHandle
Surface handle, from which native handle is acquired Surface handle can be created using MLNativeSurfaceCreate
public ulong SurfaceHandle;
Transform
The 4x4 column-major tranformation matrix for the native frame
public float [] Transform;
Width
Width of the native frame
public uint Width;