Ignore:
Timestamp:
May 12, 2012 7:18:09 AM (12 years ago)
Author:
ming
Message:

Re #1508 (misc): Fixed compilation error if PJMEDIA_STREAM_ENABLE_KA is enabled.
This fix also disable the keep-alive feature in video stream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/stream.c

    r4108 r4120  
    11661166                                           &frame->timestamp); 
    11671167        if (dtx_duration > 
    1168             PJMEDIA_STREAM_KA_INTERVAL * stream->port.info.clock_rate) 
     1168            PJMEDIA_STREAM_KA_INTERVAL * PJMEDIA_PIA_SRATE(&stream->port.info)) 
    11691169        { 
    11701170            send_keep_alive_packet(stream); 
Note: See TracChangeset for help on using the changeset viewer.