Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
77bdd092
Commit
77bdd092
authored
Jun 06, 2016
by
Simon Morlat
Browse files
update oRTP to fix bug with RtpModifiers
parent
e3ed72b7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
oRTP
oRTP
+1
-1
tester/call_tester.c
tester/call_tester.c
+2
-2
No files found.
oRTP
@
1f1acfbd
Subproject commit
f21765b4ae0a012906add1473768a1bf0b57567c
Subproject commit
1f1acfbd71c55c621831e7304545e4c6eae1b718
tester/call_tester.c
View file @
77bdd092
...
...
@@ -5700,8 +5700,8 @@ static void custom_rtp_modifier(bool_t pauseResumeTest, bool_t recordTest) {
rtp_stats_t
pauline_rtp_stats
=
linphone_call_stats_get_rtp_stats
(
pauline_stats
);
ms_message
(
"Marie sent %i RTP packets and received %i (for real)"
,
(
int
)
marie_rtp_stats
.
packet_sent
,
(
int
)
marie_rtp_stats
.
packet_recv
);
ms_message
(
"Pauline sent %i RTP packets and received %i (for real)"
,
(
int
)
pauline_rtp_stats
.
packet_sent
,
(
int
)
pauline_rtp_stats
.
packet_recv
);
BC_ASSERT_
TRUE
(
data_marie
->
packetReceivedCount
==
marie_rtp_stats
.
packet_recv
);
BC_ASSERT_
TRUE
(
data_marie
->
packetSentCount
==
marie_rtp_stats
.
packet_sent
);
BC_ASSERT_
EQUAL
(
data_marie
->
packetReceivedCount
,
marie_rtp_stats
.
packet_recv
,
int
,
"%i"
);
BC_ASSERT_
EQUAL
(
data_marie
->
packetSentCount
,
marie_rtp_stats
.
packet_sent
,
int
,
"%i"
);
// There can be a small difference between the number of packets received in the modifier and the number processed in reception because the processing is asynchronous
BC_ASSERT_TRUE
(
data_pauline
->
packetReceivedCount
-
pauline_rtp_stats
.
packet_recv
<
20
);
BC_ASSERT_TRUE
(
data_pauline
->
packetSentCount
==
pauline_rtp_stats
.
packet_sent
);
...
...
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