assignment: clear codec when none was included

Change-Id: Ic2aea409c86bb1b0ee23200da597f5c8ef3aa2f1
Neels Hofmeyr 4 months ago
parent c2b303d2fb
commit 3292fe962f
  1. 2
      src/libmsc/msc_a.c

@ -1429,6 +1429,8 @@ static void msc_a_up_call_assignment_complete(struct msc_a *msc_a, const struct
/* Update codecs filter with the codec chosen by Assignment */
cc_trans->cc.codecs.assignment = m->sdp;
} else {
cc_trans->cc.codecs.assignment = (struct sdp_audio_codec){};
}
rtp_stream_set_remote_addr(rtps_to_ran, &ac->assignment_complete.remote_rtp);

Loading…
Cancel
Save