assignment: clear codec when none was included

Change-Id: Ic2aea409c86bb1b0ee23200da597f5c8ef3aa2f1
This commit is contained in:
Neels Hofmeyr 2022-08-09 02:16:49 +02:00
parent 6f247f9f12
commit da21269ffc
1 changed files with 2 additions and 0 deletions

View File

@ -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);