Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
9dca521d
Commit
9dca521d
authored
Jun 28, 2019
by
Pierre Lespagnol
Committed by
Adrien Béraud
Jun 28, 2019
Browse files
contrib/ffmpeg: change RTCP ratio from 0.5% to 2.5%
Change-Id: I5deaa05142ce7d4c1958327dda53a80e3a86f5e7
parent
61d87ef1
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/src/ffmpeg/change-RTCP-ratio.patch
0 → 100644
View file @
9dca521d
From a884b62c9e6f23b9f4369d724e25db2f42dad28d Mon Sep 17 00:00:00 2001
From: Pierre LESPAGNOL <pierre.lespagnol@savoirfairelinux.com>
Date: Tue, 28 May 2019 16:18:20 -0400
Subject: [PATCH] Changement du ratio de 0.5% a 5%
---
libavformat/rtp.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 54512c6f71..16916ff86a 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -78,8 +78,8 @@
enum AVCodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type);
#define RTP_VERSION 2
#define RTP_MAX_SDES 256 /**< maximum text length for SDES */
-/* RTCP packets use 0.5% of the bandwidth */
-#define RTCP_TX_RATIO_NUM 5
+/* RTCP packets use 2.5% of the bandwidth */
+#define RTCP_TX_RATIO_NUM 25
#define RTCP_TX_RATIO_DEN 1000
/* An arbitrary id value for RTP Xiph streams - only relevant to indicate
--
2.17.1
contrib/src/ffmpeg/rules.mak
View file @
9dca521d
...
...
@@ -273,6 +273,7 @@ ffmpeg: ffmpeg-$(FFMPEG_HASH).tar.gz
mkdir
-p
$@
-
$(FFMPEG_HASH)
(
cd
$@
-
$(FFMPEG_HASH)
&&
tar
x
$(
if
${BATCH_MODE}
,,-v
)
--strip-components
=
1
-f
../
$<
)
$(APPLY)
$(SRC)
/ffmpeg/remove-mjpeg-log.patch
$(APPLY)
$(SRC)
/ffmpeg/change-RTCP-ratio.patch
$(UPDATE_AUTOCONFIG)
$(MOVE)
...
...
Write
Preview
Supports
Markdown
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