1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

RTC: Eliminate duplicate assignment for video packet frame type (#2803)

Co-authored-by: zhangjunqin1 <zhangjunqin@jd.com>
This commit is contained in:
chundonglinlin 2021-12-21 08:32:17 +08:00 committed by GitHub
parent c15fadb9d5
commit 3188c772b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2516,8 +2516,6 @@ srs_error_t SrsRtcVideoRecvTrack::on_rtp(SrsRtcSource* source, SrsRtpPacket* pkt
{
srs_error_t err = srs_success;
pkt->frame_type = SrsFrameTypeVideo;
pkt->set_avsync_time(cal_avsync_time(pkt->header.get_timestamp()));
if ((err = source->on_rtp(pkt)) != srs_success) {