pjsua custom sdp
问题 I'm using pjsua to create simple SIP UA. I need to insert custom body (SDP) in outgoing INVITE requests. As far as I know, pjsua does not support custom SDP, and I need to use more low-level API to do it. But for now I have to find any rude trick/hack/hotfix to insert custom SDP in pjsua-generated INVITE. So that's the question: how could I do it? 回答1: The seemingly simple solution is to modify the pjsua source. The key is to create a pjmedia_session out of your custom SDP on code paths of