Browse Source

TT#31199 set bitrate for G.723.1

Change-Id: Ia82411c9205d63b2d63e40ece480b1d42b53b152
changes/67/18967/4
Richard Fuchs 8 years ago
parent
commit
61d5505740
2 changed files with 7 additions and 6 deletions
  1. +6
    -6
      daemon/codec.c
  2. +1
    -0
      lib/codeclib.c

+ 6
- 6
daemon/codec.c View File

@ -112,9 +112,9 @@ static void __make_transcoder(struct codec_handler *handler, struct rtp_payload_
if (handler->func != handler_func_transcode)
goto reset;
ilog(LOG_DEBUG, "Leaving transcode context for " STR_FORMAT "/%u/%i -> " STR_FORMAT "/%u/%i intact",
STR_FMT(&source->encoding_with_params), source->clock_rate, source->channels,
STR_FMT(&dest->encoding_with_params), dest->clock_rate, dest->channels);
ilog(LOG_DEBUG, "Leaving transcode context for " STR_FORMAT "/%i -> " STR_FORMAT "/%i intact",
STR_FMT(&source->encoding_with_params), source->channels,
STR_FMT(&dest->encoding_with_params), dest->channels);
return;
@ -128,9 +128,9 @@ reset:
handler->ssrc_hash = create_ssrc_hash_full(__ssrc_handler_new, (ssrc_free_func_t) __ssrc_handler_free,
handler);
ilog(LOG_DEBUG, "Created transcode context for " STR_FORMAT "/%u/%i -> " STR_FORMAT "/%u/%i",
STR_FMT(&source->encoding_with_params), source->clock_rate, source->channels,
STR_FMT(&dest->encoding_with_params), dest->clock_rate, dest->channels);
ilog(LOG_DEBUG, "Created transcode context for " STR_FORMAT "/%i -> " STR_FORMAT "/%i",
STR_FMT(&source->encoding_with_params), source->channels,
STR_FMT(&dest->encoding_with_params), dest->channels);
}
static void __ensure_codec_def(struct rtp_payload_type *pt, struct call_media *media) {


+ 1
- 0
lib/codeclib.c View File

@ -66,6 +66,7 @@ static codec_def_t __codec_defs[] = {
.default_clockrate = 8000,
.default_channels = 1,
.default_ptime = 30,
.default_bitrate = 6300,
.packetizer = packetizer_passthrough,
.type = MT_AUDIO,
},


Loading…
Cancel
Save