placeholder:'Connect once to retrieve encoder list',
options:this.encoders.map(item=>({
key:item,
text:item,
})),
});
if (this.decoders.length>1){
result.push({
key:'decoder',
type:'dropdown',
label:'Decoder',
options:this.decoders.map(item=>({
key:item.key,
text:item.name,
data:item,
})),
});
}
result.push({
key:'ignoreDecoderCodecArgs',
type:'toggle',
label:`Ignore decoder's codec arguments`,
description:`Some decoders don't support all H.264 profile/levels, so they request the device to encode at their highest-supported codec. However, some super old devices may not support that codec so their encoders will fail to start. Use this option to let device choose the codec to be used.`,
<TooltipHostcontent="Some decoders don't support all H.264 profile/levels, so they request the device to encode at their highest-supported codec. However, some super old devices may not support that codec so their encoders will fail to start. Use this option to let device choose the codec to be used.">