livekit-android-sdk
2.10.0
SDK
livekit-android-sdk
/
io.livekit.android.webrtc
/
CustomVideoDecoderFactory
Custom
Video
Decoder
Factory
open
class
CustomVideoDecoderFactory
(
sharedContext
:
EglBase.Context
?
,
forceSWCodec
:
Boolean
=
false
,
forceSWCodecs
:
List
<
String
>
=
listOf("VP9")
)
:
VideoDecoderFactory
Members
Constructors
Custom
Video
Decoder
Factory
Link copied to clipboard
constructor
(
sharedContext
:
EglBase.Context
?
,
forceSWCodec
:
Boolean
=
false
,
forceSWCodecs
:
List
<
String
>
=
listOf("VP9")
)
Functions
create
Decoder
Link copied to clipboard
open
override
fun
createDecoder
(
videoCodecInfo
:
VideoCodecInfo
)
:
VideoDecoder
?
get
Supported
Codecs
Link copied to clipboard
open
override
fun
getSupportedCodecs
(
)
:
Array
<
VideoCodecInfo
>
set
Force
SWCodec
Link copied to clipboard
fun
setForceSWCodec
(
forceSWCodec
:
Boolean
)
Set to true to force software codecs.
set
Force
SWCodec
List
Link copied to clipboard
fun
setForceSWCodecList
(
forceSWCodecs
:
List
<
String
>
)
Set a list of codecs for which to use software codecs.