@livekit/rtc-node
Preparing search index...
VideoFrame
Class VideoFrame
Index
Constructors
constructor
Properties
data
height
type
width
Accessors
data
Ptr
Methods
convert
get
Plane
proto
Info
from
Owned
Info
Constructors
constructor
new
VideoFrame
(
data
:
Uint8Array
,
width
:
number
,
height
:
number
,
type
:
VideoBufferType
,
)
:
VideoFrame
Parameters
data
:
Uint8Array
width
:
number
height
:
number
type
:
VideoBufferType
Returns
VideoFrame
Properties
data
data
:
Uint8Array
height
height
:
number
type
type
:
VideoBufferType
width
width
:
number
Accessors
data
Ptr
get
dataPtr
()
:
bigint
Internal
Returns
bigint
Methods
convert
convert
(
dstType
:
VideoBufferType
,
flipY
?:
boolean
)
:
VideoFrame
Parameters
dstType
:
VideoBufferType
flipY
:
boolean
= false
Returns
VideoFrame
get
Plane
getPlane
(
planeNth
:
number
)
:
void
|
Uint8Array
<
ArrayBufferLike
>
Parameters
planeNth
:
number
Returns
void
|
Uint8Array
<
ArrayBufferLike
>
proto
Info
protoInfo
()
:
VideoBufferInfo
Internal
Returns
VideoBufferInfo
Static
from
Owned
Info
fromOwnedInfo
(
owned
:
OwnedVideoBuffer
)
:
VideoFrame
Internal
Parameters
owned
:
OwnedVideoBuffer
Returns
VideoFrame
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
data
height
type
width
Accessors
data
Ptr
Methods
convert
get
Plane
proto
Info
from
Owned
Info
@livekit/rtc-node
Loading...