~ubuntu-branches/ubuntu/natty/linphone/natty

« back to all changes in this revision

Viewing changes to oRTP/src/rtpsession.c

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram, Kilian Krause, Samuel Mimram
  • Date: 2007-12-05 11:24:25 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071205112425-odfikcvg5j313rnl
Tags: 2.0.1-1
[ Kilian Krause ]
* New upstream release.
* Conflict with libortp5-dev to fix conflicting file
  (/usr/include/ortp/event.h). (Closes: #454281)

[ Samuel Mimram ]
* liblinphone2-dev conflicts with liblinphone1-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1419
1419
        session->rtp.hwrcv_extseq = 0;
1420
1420
        session->rtp.hwrcv_since_last_SR=0;
1421
1421
        session->rtp.snd_seq = 0;
 
1422
        rtp_session_clear_send_error_code(session);
 
1423
        rtp_session_clear_recv_error_code(session);
1422
1424
        rtp_stats_reset(&session->rtp.stats);
1423
1425
        rtp_session_resync(session);
1424
1426
}
1511
1513
        return bw;
1512
1514
}
1513
1515
 
 
1516
int rtp_session_get_last_send_error_code(RtpSession *session){
 
1517
        return session->rtp.send_errno;
 
1518
}
 
1519
 
 
1520
void rtp_session_clear_send_error_code(RtpSession *session){
 
1521
        session->rtp.send_errno=0;
 
1522
}
 
1523
 
 
1524
int rtp_session_get_last_recv_error_code(RtpSession *session){
 
1525
        return session->rtp.recv_errno;
 
1526
}
 
1527
 
 
1528
void rtp_session_clear_recv_error_code(RtpSession *session){
 
1529
        session->rtp.send_errno=0;
 
1530
}
1514
1531
 
1515
1532
/**
1516
1533
 * Destroys a rtp session.