From fcf865c4deb374fad719c5003f9a554f8ca40b82 Mon Sep 17 00:00:00 2001 From: Riza Sulistyo Date: Tue, 10 May 2016 14:58:41 +0000 Subject: Fixed #1914: onCreateMediaTransport() callback might not be called on PJSUA2. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5288 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pjsip/include') diff --git a/pjsip/include/pjsua-lib/pjsua_internal.h b/pjsip/include/pjsua-lib/pjsua_internal.h index e1fad139..1c4d0a1d 100644 --- a/pjsip/include/pjsua-lib/pjsua_internal.h +++ b/pjsip/include/pjsua-lib/pjsua_internal.h @@ -189,6 +189,13 @@ struct pjsua_call pj_timer_entry reinv_timer; /**< Reinvite retry timer. */ pj_bool_t reinv_pending;/**< Pending until CONFIRMED state. */ pj_bool_t reinv_ice_sent;/**< Has reinvite for ICE upd sent? */ + pjsip_rx_data *incoming_data;/**< Cloned incoming call rdata. + On pjsua2, when handling incoming + call, onCreateMediaTransport() will + not be called since the call isn't + created yet. This temporary + variable is used to handle such + case, see ticket #1916. */ }; -- cgit v1.2.3