Using msg_header_add_str() to add a header caused the new header to be added after the headers/body separator and thus corrupted the SDP.
Using msg_header_add_str() to add a header caused the new header to be added after the headers/body separator and thus corrupted the SDP.