mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Add adaptive rate control setting.
This commit is contained in:
parent
5169e0aeea
commit
f582f2e833
8 changed files with 57 additions and 8 deletions
|
|
@ -182,7 +182,8 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
|
||||
{
|
||||
[self transformCodecsToKeys: linphone_core_get_audio_codecs(lc)];
|
||||
[self transformCodecsToKeys: linphone_core_get_video_codecs(lc)];
|
||||
[self transformCodecsToKeys: linphone_core_get_video_codecs(lc)];
|
||||
[self setBool:linphone_core_adaptive_rate_control_enabled(lc) forKey:@"adaptive_rate_control_preference"];
|
||||
}
|
||||
|
||||
{
|
||||
|
|
@ -492,6 +493,8 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
NSString *pref=[LinphoneManager getPreferenceForCodec:pt->mime_type withRate:pt->clock_rate];
|
||||
linphone_core_enable_payload_type(lc,pt,[self boolForKey: pref]);
|
||||
}
|
||||
|
||||
linphone_core_enable_adaptive_rate_control(lc, [self boolForKey:@"adaptive_rate_control_preference"]);
|
||||
|
||||
linphone_core_set_use_info_for_dtmf(lc, [self boolForKey:@"sipinfo_dtmf_preference"]);
|
||||
linphone_core_set_use_rfc2833_for_dtmf(lc, [self boolForKey:@"rfc_dtmf_preference"]);
|
||||
|
|
|
|||
|
|
@ -586,7 +586,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[hiddenKeys addObject:@"battery_alert_button"];
|
||||
#endif
|
||||
|
||||
[hiddenKeys addObject:@"audio_advanced_group"];
|
||||
[hiddenKeys addObject:@"playback_gain_preference"];
|
||||
[hiddenKeys addObject:@"microphone_gain_preference"];
|
||||
|
||||
|
|
|
|||
|
|
@ -188,6 +188,16 @@
|
|||
<key>IASKTextAlignment</key>
|
||||
<string>IASKUITextAlignmentRight</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>DefaultValue</key>
|
||||
<true/>
|
||||
<key>Key</key>
|
||||
<string>adaptive_rate_control_preference</string>
|
||||
<key>Title</key>
|
||||
<string>Adaptive rate control</string>
|
||||
<key>Type</key>
|
||||
<string>PSToggleSwitchSpecifier</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
|||
|
|
@ -41,4 +41,7 @@
|
|||
"Playback gain" = "Playback gain";
|
||||
|
||||
/* Microphone gain */
|
||||
"Microphone gain" = "Microphone gain";
|
||||
"Microphone gain" = "Microphone gain";
|
||||
|
||||
/* Adaptive rate control */
|
||||
"Adaptive rate control" = "Adaptive rate control";
|
||||
|
|
@ -41,4 +41,7 @@
|
|||
"Playback gain" = "Gain sortie";
|
||||
|
||||
/* Microphone gain */
|
||||
"Microphone gain" = "Gain microphone";
|
||||
"Microphone gain" = "Gain microphone";
|
||||
|
||||
/* Adaptive rate control */
|
||||
"Adaptive rate control" = "Contrôle de débit";
|
||||
|
|
@ -41,4 +41,7 @@
|
|||
"Playback gain" = "Усиление воспроизведения";
|
||||
|
||||
/* Microphone gain */
|
||||
"Microphone gain" = "Усиление микрофона";
|
||||
"Microphone gain" = "Усиление микрофона";
|
||||
|
||||
/* Adaptive rate control */
|
||||
"Adaptive rate control" = "Adaptive rate control";
|
||||
|
|
@ -17902,7 +17902,7 @@ Raison: %2$s</string>
|
|||
</dict>
|
||||
</dict>
|
||||
<key>change date</key>
|
||||
<date>2012-11-06T09:45:46Z</date>
|
||||
<date>2013-06-26T10:38:34Z</date>
|
||||
<key>changed values</key>
|
||||
<array/>
|
||||
<key>class</key>
|
||||
|
|
@ -17912,7 +17912,7 @@ Raison: %2$s</string>
|
|||
<key>flags</key>
|
||||
<integer>0</integer>
|
||||
<key>hash</key>
|
||||
<string>d8b4f45bf8fca397a7f791bd55a61e1c
|
||||
<string>3d30b341d7d52a2764e5683a2ca348c1
|
||||
</string>
|
||||
<key>name</key>
|
||||
<string>Audio.strings</string>
|
||||
|
|
@ -18279,6 +18279,31 @@ Raison: %2$s</string>
|
|||
<key>snapshots</key>
|
||||
<dict/>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>change date</key>
|
||||
<date>2001-01-01T00:00:00Z</date>
|
||||
<key>changed values</key>
|
||||
<array/>
|
||||
<key>class</key>
|
||||
<string>BLStringKeyObject</string>
|
||||
<key>comment</key>
|
||||
<string>Adaptive rate control</string>
|
||||
<key>errors</key>
|
||||
<array/>
|
||||
<key>flags</key>
|
||||
<integer>0</integer>
|
||||
<key>key</key>
|
||||
<string>Adaptive rate control</string>
|
||||
<key>localizations</key>
|
||||
<dict>
|
||||
<key>en</key>
|
||||
<string>Adaptive rate control</string>
|
||||
<key>fr</key>
|
||||
<string>Contrôle de débit</string>
|
||||
</dict>
|
||||
<key>snapshots</key>
|
||||
<dict/>
|
||||
</dict>
|
||||
</array>
|
||||
<key>old objects</key>
|
||||
<array/>
|
||||
|
|
|
|||
|
|
@ -41,4 +41,7 @@
|
|||
"Playback gain" = "Playback gain";
|
||||
|
||||
/* Microphone gain */
|
||||
"Microphone gain" = "Microphone gain";
|
||||
"Microphone gain" = "Microphone gain";
|
||||
|
||||
/* Adaptive rate control */
|
||||
"Adaptive rate control" = "Adaptive rate control";
|
||||
Loading…
Add table
Reference in a new issue