webrtc_ini: Revise two default values 03/268003/2 accepted/tizen/6.5/unified/20211217.121953 submit/tizen_6.5/20211216.092707
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 14 Dec 2021 09:42:22 +0000 (18:42 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Wed, 15 Dec 2021 02:35:25 +0000 (11:35 +0900)
1. DEFAULT_USE_ULPFEC_RED is changed to FALSE
 FEC is optional functionality that also affects bitrate and latency,
 so, set it FALSE as a default value.

2. DEFAULT_VPXENC_KEYFRAME_MAX_DIST is changed from 999999 to 10
 The previous value which has been brought from www.webmproject.org
 with no thought of that we are using 'wait-for-keyframe' of VP8
 depayloader. With a high value, received video stream can be shown
 to be freezed when a RTP packet gets lost. Therefore, this value is
 now changed to the reasonable value.

Note that these values affect only if there's empty value in ini file
or there's no ini file in a target.

[Version] 0.2.153
[Issue Type] Improvement

Change-Id: I19dd64b5bdb3fd21f09ab213cf2d8bae9b52a190
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-webrtc.spec
src/webrtc_ini.c

index 1e4eecb9c3310de76ee99036d2093634559d091f..510b04ffafce20b8f43e1a257789cf96577e2ea4 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.2.152
+Version:    0.2.153
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index efc778f19687cd6cc2852a6ef6ff266e5e239651..52a656de8ca349e215755ef6f15b611351421c8e 100644 (file)
@@ -85,7 +85,7 @@ bool g_verbose = false;
 #define DEFAULT_VIDEO_CODEC               "vp8"
 #define DEFAULT_AUDIO_CODEC               "opus"
 
-#define DEFAULT_USE_ULPFEC_RED            true
+#define DEFAULT_USE_ULPFEC_RED            false
 #define DEFAULT_FEC_PERCENTAGE            100  /* FEC overhead percentage for the whole stream */
 
 /* items for rendering sink */
@@ -121,7 +121,7 @@ bool g_verbose = false;
 #define DEFAULT_VPXENC_END_USAGE            1
 #define DEFAULT_VPXENC_CPU_USED             5
 #define DEFAULT_VPXENC_TARGET_BITRATE       256000
-#define DEFAULT_VPXENC_KEYFRAME_MAX_DIST    999999
+#define DEFAULT_VPXENC_KEYFRAME_MAX_DIST    10
 #define DEFAULT_VPXENC_MIN_QUANTIZER        4
 #define DEFAULT_VPXENC_MAX_QUANTIZER        56
 #define DEFAULT_VPXENC_UNDERSHOOT           95