Skip to content

Commit

Permalink
Fix: call parent method explicitly (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhenyilang committed Apr 30, 2024
1 parent d3f1402 commit ecb507e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion worker/src/RTC/RtpStreamRecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,8 @@ namespace RTC
score);
#endif

RtpStream::UpdateScore(score);
// Call the parent method for update score.
RTC::RtpStream::UpdateScore(score);
}

void RtpStreamRecv::UserOnSequenceNumberReset()
Expand Down
3 changes: 2 additions & 1 deletion worker/src/RTC/RtpStreamSend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@ namespace RTC
score);
#endif

RtpStream::UpdateScore(score);
// Call the parent method for update score.
RTC::RtpStream::UpdateScore(score);
}

void RtpStreamSend::UserOnSequenceNumberReset()
Expand Down

0 comments on commit ecb507e

Please sign in to comment.