|
Hello there! Vadim, Thanks for the answer on another email. I'll have a good look on it as soon as I get rid of this problem. We had some problems here with patch to handle "mode" parameter of "fmtp" attribute for iLBC payloads. The problem is on lines below from "ph_call_media_start" method: msp->opayloads[0].number = ca->audio_payload; ph_parse_payload_mime(&msp->opayloads[0], ca->audio_payload_name, 8000, 1); msp->ipayloads[0] = msp->opayloads[0]; ph_update_media_payloads_fmtp(je, msp); During some additional tests, I've noticed that method "ph_call_media_start" is called more than once per session. For this reason, I've changed method "ph_update_media_payloads_fmtp" to validate the "fmtp" field of "ph_media_payload_s" structure before reassign it. Unfortunately, I still have a problem with the assignment made on first 3 lines. It leads to a overriding of "msp->ipayloads[0].fmtp" value, that is a "char *", with "msp->opayloads[0].fmtp". Is there some possibilities to avoid this situation: 1- Use the same validations present on "ph_msession_audio_stream_start" method that indicates the stream will be reused to avoid the above assignment; 2- Use "ph_clear_msession_streams_fmtps" to clear the values of "fmtp" fields from "ph_media_payloads_s" before the assignment and new update of their values; What do you think is the better choice ? Please feel free to send any suggestions. Thanks and best regards, --
|
_______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
