RootEncoder
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
RootEncoder
extra-sources
/
com.pedro.extrasources
/
BufferVideoSource
Buffer
Video
Source
class
BufferVideoSource
(
format
:
BufferVideoSource.Format
,
bitrate
:
Int
)
:
VideoSource
Members
Constructors
Buffer
Video
Source
Link copied to clipboard
constructor
(
format
:
BufferVideoSource.Format
,
bitrate
:
Int
)
Types
Format
Link copied to clipboard
enum
Format
:
Enum
<
BufferVideoSource.Format
>
Properties
created
Link copied to clipboard
var
created
:
Boolean
fps
Link copied to clipboard
var
fps
:
Int
height
Link copied to clipboard
var
height
:
Int
rotation
Link copied to clipboard
var
rotation
:
Int
surface
Texture
Link copied to clipboard
var
surfaceTexture
:
SurfaceTexture
?
width
Link copied to clipboard
var
width
:
Int
Functions
get
Orientation
Config
Link copied to clipboard
open
fun
getOrientationConfig
(
)
:
OrientationForced
init
Link copied to clipboard
fun
init
(
width
:
Int
,
height
:
Int
,
fps
:
Int
,
rotation
:
Int
)
:
Boolean
is
Running
Link copied to clipboard
open
override
fun
isRunning
(
)
:
Boolean
release
Link copied to clipboard
open
override
fun
release
(
)
set
Buffer
Link copied to clipboard
fun
setBuffer
(
data
:
ByteBuffer
)
fun
setBuffer
(
data
:
ByteArray
)
fun
setBuffer
(
data
:
IntArray
)
start
Link copied to clipboard
open
override
fun
start
(
surfaceTexture
:
SurfaceTexture
)
stop
Link copied to clipboard
open
override
fun
stop
(
)