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
e7dd3265
Commit
e7dd3265
authored
14 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#4896] Update session timestamp when updating media
parent
75cb8f2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-common/src/audio/audiortp/AudioRtpRecordHandler.h
+1
-1
1 addition, 1 deletion
sflphone-common/src/audio/audiortp/AudioRtpRecordHandler.h
sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
+4
-0
4 additions, 0 deletions
sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
with
5 additions
and
1 deletion
sflphone-common/src/audio/audiortp/AudioRtpRecordHandler.h
+
1
−
1
View file @
e7dd3265
...
...
@@ -47,7 +47,7 @@ namespace sfl
// Factor use to increase volume in fade in
#define FADEIN_STEP_SIZE 4;
static
const
int
schedulingTimeout
=
10
000
;
static
const
int
schedulingTimeout
=
4
000
;
static
const
int
expireTimeout
=
1000000
;
// G.722 VoIP is typically carried in RTP payload type 9.[2] Note that IANA records the clock rate for type 9 G.722 as 8 kHz
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/audio/audiortp/AudioRtpSession.cpp
+
4
−
0
View file @
e7dd3265
...
...
@@ -175,6 +175,8 @@ void AudioRtpSession::updateSessionMedia (AudioCodec *audioCodec)
// Set recording sampling rate
_ca
->
setRecordingSmplRate
(
getCodecSampleRate
());
_timestamp
=
getCurrentTimestamp
();
}
...
...
@@ -350,6 +352,8 @@ void AudioRtpSession::run ()
uint32
timeout
=
0
;
_timestamp
=
getCurrentTimestamp
();
while
(
isActive
())
{
if
(
timeout
<
1000
)
{
// !(timeout/1000)
...
...
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