mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Remove GSO for player, no premature optimization
This commit is contained in:
parent
5bd2812405
commit
4f6b24ea12
9 changed files with 13 additions and 375 deletions
|
@ -152,8 +152,6 @@ private:
|
|||
// TODO: FIXME: Rename to stat for RTP packets.
|
||||
class SrsRtcOutgoingInfo
|
||||
{
|
||||
public:
|
||||
bool use_gso;
|
||||
public:
|
||||
#if defined(SRS_DEBUG)
|
||||
// Debug id.
|
||||
|
@ -243,7 +241,6 @@ private:
|
|||
srs_error_t send_messages(SrsRtcSource* source, const std::vector<SrsRtpPacket2*>& pkts, SrsRtcOutgoingInfo& info);
|
||||
srs_error_t messages_to_packets(SrsRtcSource* source, const std::vector<SrsRtpPacket2*>& pkts, SrsRtcOutgoingInfo& info);
|
||||
srs_error_t send_packets(const std::vector<SrsRtpPacket2*>& pkts, SrsRtcOutgoingInfo& info);
|
||||
srs_error_t send_packets_gso(const std::vector<SrsRtpPacket2*>& pkts, SrsRtcOutgoingInfo& info);
|
||||
public:
|
||||
void nack_fetch(std::vector<SrsRtpPacket2*>& pkts, uint32_t ssrc, uint16_t seq);
|
||||
void simulate_nack_drop(int nn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue