[calls] sip: media-manager: Remove unused code
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] sip: media-manager: Remove unused code
- Date: Wed, 2 Mar 2022 07:27:13 +0000 (UTC)
commit 30d6c7182635e27ff4b65e6d61ff9cf838a269f5
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Tue Mar 1 17:14:03 2022 +0100
sip: media-manager: Remove unused code
It has outlived its usefulness since 7d113d4180c70de174451583a8aaa56216f280be
Also PCMA was never the "best" codec to begin with.
plugins/sip/calls-sip-media-manager.c | 7 -------
plugins/sip/calls-sip-media-manager.h | 1 -
2 files changed, 8 deletions(-)
---
diff --git a/plugins/sip/calls-sip-media-manager.c b/plugins/sip/calls-sip-media-manager.c
index 7f0938de..f8e81546 100644
--- a/plugins/sip/calls-sip-media-manager.c
+++ b/plugins/sip/calls-sip-media-manager.c
@@ -288,13 +288,6 @@ calls_sip_media_manager_static_capabilities (CallsSipMediaManager *self,
}
-MediaCodecInfo*
-get_best_codec (CallsSipMediaManager *self)
-{
- return media_codec_by_name ("PCMA");
-}
-
-
/* calls_sip_media_manager_codec_candiates:
*
* @self: A #CallsSipMediaManager
diff --git a/plugins/sip/calls-sip-media-manager.h b/plugins/sip/calls-sip-media-manager.h
index 854ba6ce..a8316d80 100644
--- a/plugins/sip/calls-sip-media-manager.h
+++ b/plugins/sip/calls-sip-media-manager.h
@@ -48,7 +48,6 @@ gchar* calls_sip_media_manager_static_capabilities (Cal
gboolean use_srtp);
gboolean calls_sip_media_manager_supports_media (CallsSipMediaManager *self,
const char
*media_type);
-MediaCodecInfo* get_best_codec (CallsSipMediaManager *self);
GList * calls_sip_media_manager_codec_candidates (CallsSipMediaManager *self);
GList * calls_sip_media_manager_get_codecs_from_sdp (CallsSipMediaManager *self,
sdp_media_t
*sdp_media);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]