Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
5f932e4c
Commit
5f932e4c
authored
4 years ago
by
Aline Gondim Santos
Browse files
Options
Downloads
Patches
Plain Diff
recording: enable multiple records per call
GitLab:
#504
Change-Id: Id606f95ad68e79605b597a5736ac182a298118f4
parent
6f27b766
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sip/sipcall.cpp
+6
-3
6 additions, 3 deletions
src/sip/sipcall.cpp
with
6 additions
and
3 deletions
src/sip/sipcall.cpp
+
6
−
3
View file @
5f932e4c
...
@@ -1408,6 +1408,10 @@ SIPCall::startAllMedia()
...
@@ -1408,6 +1408,10 @@ SIPCall::startAllMedia()
bool
peer_holding
{
true
};
bool
peer_holding
{
true
};
int
slotN
=
-
1
;
int
slotN
=
-
1
;
// reset
readyToRecord_
=
false
;
resetMediaReady
();
for
(
const
auto
&
slot
:
slots
)
{
for
(
const
auto
&
slot
:
slots
)
{
++
slotN
;
++
slotN
;
const
auto
&
local
=
slot
.
first
;
const
auto
&
local
=
slot
.
first
;
...
@@ -2018,7 +2022,8 @@ SIPCall::toggleRecording()
...
@@ -2018,7 +2022,8 @@ SIPCall::toggleRecording()
return
false
;
return
false
;
}
}
auto
title
=
fmt
::
format
(
"Conversation at %TIMESTAMP between {} and {}"
,
auto
title
=
fmt
::
format
(
"Conversation at %TIMESTAMP between {} and {}"
,
account
->
getUserUri
(),
peerUri_
);
account
->
getUserUri
(),
peerUri_
);
recorder_
->
setMetadata
(
title
,
""
);
// use default description
recorder_
->
setMetadata
(
title
,
""
);
// use default description
auto
const
&
audioRtp
=
getAudioRtp
();
auto
const
&
audioRtp
=
getAudioRtp
();
if
(
audioRtp
)
if
(
audioRtp
)
...
@@ -2033,8 +2038,6 @@ SIPCall::toggleRecording()
...
@@ -2033,8 +2038,6 @@ SIPCall::toggleRecording()
}
else
{
}
else
{
updateRecState
(
false
);
updateRecState
(
false
);
deinitRecorder
();
deinitRecorder
();
readyToRecord_
=
false
;
resetMediaReady
();
}
}
pendingRecord_
=
false
;
pendingRecord_
=
false
;
return
Call
::
toggleRecording
();
return
Call
::
toggleRecording
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment