Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
75c11911
Commit
75c11911
authored
Apr 19, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(app): many changes
parent
7c92738c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
25 deletions
+31
-25
Utils.cpp
linphone-desktop/src/Utils.cpp
+1
-1
CallModel.cpp
linphone-desktop/src/components/call/CallModel.cpp
+19
-19
CallModel.hpp
linphone-desktop/src/components/call/CallModel.hpp
+2
-0
Calls.js
linphone-desktop/ui/modules/Linphone/Calls/Calls.js
+2
-2
Incall.qml
linphone-desktop/ui/views/App/Calls/Incall.qml
+7
-3
No files found.
linphone-desktop/src/Utils.cpp
View file @
75c11911
...
...
@@ -20,7 +20,7 @@
* Author: Ronan Abhamon
*/
#include "
u
tils.hpp"
#include "
U
tils.hpp"
// =============================================================================
...
...
linphone-desktop/src/components/call/CallModel.cpp
View file @
75c11911
...
...
@@ -426,25 +426,6 @@ inline QVariantMap createStat (const QString &key, const QString &value) {
return
m
;
}
inline
QString
iceStateToString
(
linphone
::
IceState
state
)
const
{
switch
(
state
)
{
case
linphone
:
:
IceStateNotActivated
:
return
tr
(
"iceStateNotActivated"
);
case
linphone
:
:
IceStateFailed
:
return
tr
(
"iceStateFailed"
);
case
linphone
:
:
IceStateInProgress
:
return
tr
(
"iceStateInProgress"
);
case
linphone
:
:
IceStateReflexiveConnection
:
return
tr
(
"iceStateReflexiveConnection"
);
case
linphone
:
:
IceStateHostConnection
:
return
tr
(
"iceStateHostConnection"
);
case
linphone
:
:
IceStateRelayConnection
:
return
tr
(
"iceStateRelayConnection"
);
default:
return
tr
(
"iceStateInvalid"
);
}
}
void
CallModel
::
updateStats
(
const
linphone
::
CallStats
&
callStats
,
QVariantList
&
stats
)
{
QString
family
;
shared_ptr
<
const
linphone
::
CallParams
>
params
=
mLinphoneCall
->
getCurrentParams
();
...
...
@@ -512,3 +493,22 @@ void CallModel::updateStats (const linphone::CallStats &callStats, QVariantList
break
;
}
}
QString
CallModel
::
iceStateToString
(
linphone
::
IceState
state
)
const
{
switch
(
state
)
{
case
linphone
:
:
IceStateNotActivated
:
return
tr
(
"iceStateNotActivated"
);
case
linphone
:
:
IceStateFailed
:
return
tr
(
"iceStateFailed"
);
case
linphone
:
:
IceStateInProgress
:
return
tr
(
"iceStateInProgress"
);
case
linphone
:
:
IceStateReflexiveConnection
:
return
tr
(
"iceStateReflexiveConnection"
);
case
linphone
:
:
IceStateHostConnection
:
return
tr
(
"iceStateHostConnection"
);
case
linphone
:
:
IceStateRelayConnection
:
return
tr
(
"iceStateRelayConnection"
);
default:
return
tr
(
"iceStateInvalid"
);
}
}
linphone-desktop/src/components/call/CallModel.hpp
View file @
75c11911
...
...
@@ -128,6 +128,8 @@ private:
QVariantList
getVideoStats
()
const
;
void
updateStats
(
const
linphone
::
CallStats
&
callStats
,
QVariantList
&
stats
);
QString
iceStateToString
(
linphone
::
IceState
state
)
const
;
bool
mPausedByRemote
=
false
;
bool
mPausedByUser
=
false
;
bool
mRecording
=
false
;
...
...
linphone-desktop/ui/modules/Linphone/Calls/Calls.js
View file @
75c11911
...
...
@@ -16,10 +16,10 @@ var MAP_STATUS_TO_PARAMS = (function () {
handler
:
(
function
()
{
call
.
pausedByUser
=
true
}),
name
:
qsTr
(
'
pauseCall
'
)
},
{
handler
:
(
function
()
{
call
.
transfer
()
})
,
handler
:
call
.
transfer
,
name
:
qsTr
(
'
transferCall
'
)
},
{
handler
:
(
function
()
{
call
.
terminate
()
})
,
handler
:
call
.
terminate
,
name
:
qsTr
(
'
terminateCall
'
)
}],
component
:
callActions
,
...
...
linphone-desktop/ui/views/App/Calls/Incall.qml
View file @
75c11911
...
...
@@ -85,12 +85,16 @@ Rectangle {
CallStatistics
{
id
:
callStatistics
relativeTo
:
callQuality
relativeY
:
info
.
height
+
elapsedTime
.
height
*
2
call
:
incall
.
call
width
:
container
.
width
height
:
container
.
height
width
:
container
.
width
launcher
:
callQuality
relativeTo
:
callQuality
relativeY
:
info
.
height
+
elapsedTime
.
height
*
2
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment