- dejitter: call to calculate_transmit_time() was missing in rtpproxy_main()
This commit is contained in:
parent
9f165e6694
commit
f90acd86aa
@ -113,7 +113,7 @@ void add_time_values(const struct timeval *a, const struct timeval *b,
|
|||||||
struct timeval *r);
|
struct timeval *r);
|
||||||
void sub_time_values(const struct timeval *a, const struct timeval *b,
|
void sub_time_values(const struct timeval *a, const struct timeval *b,
|
||||||
struct timeval *r);
|
struct timeval *r);
|
||||||
int cmp_time_values(const struct timeval *a, const struct timeval *b);
|
int cmp_time_values(const struct timeval *a, const struct timeval *b);
|
||||||
double make_double_time ( const struct timeval *tv);
|
double make_double_time ( const struct timeval *tv);
|
||||||
void send_top_of_que ();
|
void send_top_of_que ();
|
||||||
void delayedsendto(int s, const void *msg, size_t len, int flags,
|
void delayedsendto(int s, const void *msg, size_t len, int flags,
|
||||||
@ -121,10 +121,10 @@ void delayedsendto(int s, const void *msg, size_t len, int flags,
|
|||||||
const struct timeval *tv, rtp_proxytable_t *errret);
|
const struct timeval *tv, rtp_proxytable_t *errret);
|
||||||
void cancelmessages (rtp_proxytable_t *dropentry);
|
void cancelmessages (rtp_proxytable_t *dropentry);
|
||||||
void flushbuffers();
|
void flushbuffers();
|
||||||
int delay_of_next_transmission(struct timeval *tv);
|
int delay_of_next_transmission(struct timeval *tv);
|
||||||
void split_double_time ( double d, struct timeval *tv);
|
void split_double_time ( double d, struct timeval *tv);
|
||||||
void init_calculate_transmit_time (timecontrol_t *tc, int dejitter);
|
void init_calculate_transmit_time (timecontrol_t *tc, int dejitter);
|
||||||
int fetch_missalign_long_network_oder (char *where);
|
int fetch_missalign_long_network_oder (char *where);
|
||||||
void calculate_transmit_time (rtp_buff_t *rtp_buff, timecontrol_t *tc,
|
void calculate_transmit_time (rtp_buff_t *rtp_buff, timecontrol_t *tc,
|
||||||
const struct timeval *input_tv,
|
const struct timeval *input_tv,
|
||||||
struct timeval *ttv);
|
struct timeval *ttv);
|
||||||
@ -343,6 +343,9 @@ static void *rtpproxy_main(void *arg) {
|
|||||||
struct sockaddr_in dst_addr;
|
struct sockaddr_in dst_addr;
|
||||||
struct timeval ttv;
|
struct timeval ttv;
|
||||||
|
|
||||||
|
calculate_transmit_time (&rtp_buff,&(rtp_proxytable[i].tc),
|
||||||
|
&input_tv,&ttv) ;
|
||||||
|
|
||||||
/* write to dest via socket rtp_tx_sock */
|
/* write to dest via socket rtp_tx_sock */
|
||||||
dst_addr.sin_family = AF_INET;
|
dst_addr.sin_family = AF_INET;
|
||||||
memcpy(&dst_addr.sin_addr.s_addr,
|
memcpy(&dst_addr.sin_addr.s_addr,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user