Ignore:
Timestamp:
08/27/10 04:10:58 (21 months ago)
Author:
shiretu
Message:

-- android stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/thelib/src/protocols/rtp/connectivity/outboundconnectivity.cpp

    r108 r109  
    529529 
    530530        //6. RTP 
    531         uint32_t timestampIncrement = (rate * timeNow.tv_sec); 
    532         timestampIncrement += (uint32_t) ((2.0 * rate * timeNow.tv_usec + 1000000.0) / 2000000); 
    533         uint32_t rtpTimestamp = 0 + timestampIncrement; 
    534         put_htonl(pDest + 16, rtpTimestamp); 
     531        put_htonl(pDest + 16, ToRTPTS(timeNow, rate)); 
    535532 
    536533        //7. sender's packet count 
Note: See TracChangeset for help on using the changeset viewer.