mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
feat(MultimediaParameters): update call streams in multimedia parameters dialog
This commit is contained in:
parent
bc0de77024
commit
17ce7699a1
3 changed files with 12 additions and 1 deletions
|
|
@ -598,6 +598,12 @@ void CallModel::verifyAuthenticationToken (bool verify) {
|
|||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void CallModel::updateStreams () {
|
||||
mCall->update(nullptr);
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
CallModel::CallEncryption CallModel::getEncryption () const {
|
||||
return static_cast<CallEncryption>(mCall->getCurrentParams()->getMediaEncryption());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -126,6 +126,8 @@ public:
|
|||
|
||||
Q_INVOKABLE void verifyAuthenticationToken (bool verify);
|
||||
|
||||
Q_INVOKABLE void updateStreams ();
|
||||
|
||||
signals:
|
||||
void callErrorChanged (const QString &callError);
|
||||
void isInConferenceChanged (bool status);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,10 @@ DialogPlus {
|
|||
TextButtonB {
|
||||
text: qsTr('ok')
|
||||
|
||||
onClicked: exit(0)
|
||||
onClicked: {
|
||||
call.updateStreams()
|
||||
exit(0)
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue