toggle menu
StreamPack
androidJvm
switch theme
search in API
core
/
io.github.thibaultbee.streampack.data
/
VideoConfig
/
VideoConfig
Video
Config
constructor
(
mimeType
:
String
=
MediaFormat.MIMETYPE_VIDEO_AVC
,
resolution
:
Size
=
Size(1280, 720)
,
startBitrate
:
Int
=
getBestBitrate(resolution)
,
fps
:
Int
=
30
,
profileLevel
:
MediaCodecInfo.CodecProfileLevel
,
gopDuration
:
Float
=
1.0f
)
constructor
(
mimeType
:
String
=
MediaFormat.MIMETYPE_VIDEO_AVC
,
startBitrate
:
Int
=
2000000
,
resolution
:
Size
=
Size(1280, 720)
,
fps
:
Int
=
30
,
profile
:
Int
=
getBestProfile(mimeType)
,
level
:
Int
=
getBestLevel(mimeType, profile)
,
gopDuration
:
Float
=
1.0f
)