Browse Source

TT#37157 fix missing G722 RTP TS output scaling

fixes #560

Change-Id: Ief961a1f0e3d7fb1bd07e79eab1ceb54b5d131be
changes/22/21522/2
Richard Fuchs 8 years ago
parent
commit
e404f18975
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -674,7 +674,7 @@ static int __packet_encoded(encoder_t *enc, void *u1, void *u2) {
ilog(LOG_DEBUG, "Received packet of %i bytes from packetizer", inout.len);
// reconstruct RTP header
unsigned int ts = enc->avpkt.pts + ch->ts_out;
unsigned int ts = enc->avpkt.pts / enc->def->clockrate_mult + ch->ts_out;
ZERO(*rh);
rh->v_p_x_cc = 0x80;
rh->m_pt = ch->handler->dest_pt.payload_type;


Loading…
Cancel
Save