summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib/pjsua_call.c
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-08-26 16:51:28 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-08-26 16:51:28 +0000
commit8f801ac496cf978d41daf150c9d9b492b78cebac (patch)
treed9e33eee205b6c5110a077e9828e51c94b5011c5 /pjsip/src/pjsua-lib/pjsua_call.c
parent472c21109bff70d66f59bd113b4031fde29a8a86 (diff)
Ticket #602:
- Introduced new API pjmedia_rtp_session_init2() to enable intializing RTP session with non-default initial settings - Updated stream so it can be created with non-default initial RTP settings. - Updated pjsua-lib to make sure RTP timestamp and sequence contigue when stream session is restarted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2241 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c
index 114da50d..737cc017 100644
--- a/pjsip/src/pjsua-lib/pjsua_call.c
+++ b/pjsip/src/pjsua-lib/pjsua_call.c
@@ -105,6 +105,9 @@ static void reset_call(pjsua_call_id id)
call->session = NULL;
call->audio_idx = -1;
call->ssrc = pj_rand();
+ call->rtp_tx_seq = 0;
+ call->rtp_tx_ts = 0;
+ call->rtp_tx_seq_ts_set = 0;
call->xfer_sub = NULL;
call->last_code = (pjsip_status_code) 0;
call->conf_slot = PJSUA_INVALID_ID;