Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
2d293534
Commit
2d293534
authored
1 year ago
by
Sylvain Berfini
Browse files
Options
Download
Patches
Plain Diff
Do not start media loss check timer if no rtp timeout is 0
parent
4a6066cd
1 merge request
!2556
Fix/outbound proxy
Pipeline
#63557
failed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conference/session/audio-stream.cpp
+4
-0
src/conference/session/audio-stream.cpp
with
4 additions
and
0 deletions
src/conference/session/audio-stream.cpp
+
4
−
0
View file @
2d293534
...
@@ -264,6 +264,10 @@ MediaStream *MS2AudioStream::getMediaStream() const {
...
@@ -264,6 +264,10 @@ MediaStream *MS2AudioStream::getMediaStream() const {
void
MS2AudioStream
::
setupMediaLossCheck
()
{
void
MS2AudioStream
::
setupMediaLossCheck
()
{
int
disconnectTimeout
=
linphone_core_get_nortp_timeout
(
getCCore
());
int
disconnectTimeout
=
linphone_core_get_nortp_timeout
(
getCCore
());
if
(
disconnectTimeout
==
0
)
{
lInfo
()
<<
"No RTP timeout disabled"
;
return
;
}
mMediaLostCheckTimer
=
getCore
().
createTimer
(
mMediaLostCheckTimer
=
getCore
().
createTimer
(
[
this
,
disconnectTimeout
]()
->
bool
{
[
this
,
disconnectTimeout
]()
->
bool
{
if
(
!
audio_stream_alive
(
mStream
,
disconnectTimeout
))
{
if
(
!
audio_stream_alive
(
mStream
,
disconnectTimeout
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets