Browse Source

TT#136957 reset SSRC sequencers when going to transcoding

Change-Id: I98110a3d298b4ef7884ddfe2fdc931b338d40dc7
mika/coverity
Richard Fuchs 4 years ago
parent
commit
740bdb4295
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      daemon/codec.c

+ 6
- 0
daemon/codec.c View File

@ -317,6 +317,10 @@ static void __make_passthrough_ssrc(struct codec_handler *handler) {
handler->passthrough = 1;
}
static void __reset_sequencer(void *p, void *dummy) {
struct ssrc_entry_call *s = p;
s->sequencer.seq = -1;
}
static void __make_transcoder(struct codec_handler *handler, struct rtp_payload_type *dest,
GHashTable *output_transcoders, int dtmf_payload_type, int pcm_dtmf_detect,
int cn_payload_type)
@ -390,6 +394,8 @@ reset:
g_atomic_int_inc(&stats_entry->num_transcoders);
ssrc_hash_foreach(handler->media->monologue->ssrc_hash, __reset_sequencer, NULL);
check_output:;
// check if we have multiple decoders transcoding to the same output PT
struct codec_handler *output_handler = NULL;


Loading…
Cancel
Save