Fix error during encoding obu packet into rtp packet

This commit is contained in:
dijunkun
2024-05-06 17:21:33 +08:00
parent 182c7dbec6
commit 95da7ff52d
10 changed files with 120 additions and 45 deletions

View File

@@ -30,7 +30,13 @@ class RtpVideoReceiver : public ThreadBase {
}
private:
bool CheckIsFrameCompleted(RtpPacket& rtp_packet);
void ProcessAV1RtpPacket(RtpPacket& rtp_packet);
private:
void ProcessH264RtpPacket(RtpPacket& rtp_packet);
bool CheckIsH264FrameCompleted(RtpPacket& rtp_packet);
private:
bool CheckIsTimeSendRR();
int SendRtcpRR(RtcpReceiverReport& rtcp_rr);