|
|
|
@ -5847,6 +5847,7 @@ static struct ast_frame *ast_rtp_read(struct ast_rtp_instance *instance, int rtc
|
|
|
|
|
/* Video -- samples is # of samples vs. 90000 */
|
|
|
|
|
if (!rtp->lastividtimestamp)
|
|
|
|
|
rtp->lastividtimestamp = timestamp;
|
|
|
|
|
calc_rxstamp(&rtp->f.delivery, rtp, timestamp, mark);
|
|
|
|
|
ast_set_flag(&rtp->f, AST_FRFLAG_HAS_TIMING_INFO);
|
|
|
|
|
rtp->f.ts = timestamp / (rtp_get_rate(rtp->f.subclass.format) / 1000);
|
|
|
|
|
rtp->f.samples = timestamp - rtp->lastividtimestamp;
|
|
|
|
|