fix #LINQT-1465 set auto video codecs + don't sort codec lists

This commit is contained in:
Gaelle Braud 2025-01-02 10:39:28 +01:00
parent eb8c95f192
commit 80b119b2ca
3 changed files with 6 additions and 4 deletions

View file

@ -548,6 +548,8 @@ void App::initCore() {
Utils::checkDownloadedCodecsUpdates();
mEngine->load(url);
CoreModel::getInstance()->getCore()->setVideoCodecPriorityPolicy(linphone::CodecPriorityPolicy::Auto);
});
},
Qt::BlockingQueuedConnection);

View file

@ -26,7 +26,7 @@ DEFINE_ABSTRACT_OBJECT(PayloadTypeProxy)
PayloadTypeProxy::PayloadTypeProxy(QObject *parent) : LimitProxy(parent) {
mPayloadTypeList = PayloadTypeList::create();
setSourceModels(new SortFilterList(mPayloadTypeList.get(), Qt::AscendingOrder));
setSourceModels(new SortFilterList(mPayloadTypeList.get()));
}
PayloadTypeProxy::~PayloadTypeProxy() {

View file

@ -14,9 +14,9 @@ Item {
property CallGui call
property ConferenceGui conference: call && call.core.conference
property bool callTerminatedByUser: false
property bool callStarted: call?.core.isStarted
readonly property var callState: call? call.core.state : undefined
property int conferenceLayout: call ? call.core.conferenceVideoLayout : LinphoneEnums.ConferenceLayout.ActiveSpeaker
property bool callStarted: call ? call.core.isStarted : false
readonly property var callState: call?.core.state
property int conferenceLayout: call ? call.core.conferenceVideoLayout : LinphoneEnums.ConferenceLayout.ActiveSpeaker
// property int participantDeviceCount: conference ? conference.core.participantDeviceCount : -1
// onParticipantDeviceCountChanged: {
// setConferenceLayout()