mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Extract NACK handler from stream to track.
This commit is contained in:
parent
40ea0b67f9
commit
b373400257
4 changed files with 57 additions and 71 deletions
|
@ -582,7 +582,7 @@ public:
|
|||
public:
|
||||
virtual srs_error_t on_rtp(SrsRtpPacket2* pkt, SrsRtcPlayStreamStatistic& info) = 0;
|
||||
virtual srs_error_t on_rtcp(SrsRtpPacket2* pkt) = 0;
|
||||
virtual void on_recv_nack();
|
||||
virtual srs_error_t on_recv_nack(const std::vector<uint16_t>& lost_seqs, SrsRtcPlayStreamStatistic& info);
|
||||
};
|
||||
|
||||
class SrsRtcAudioSendTrack : public SrsRtcSendTrack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue