1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #307, support padding for GSO

This commit is contained in:
winlin 2020-04-15 15:58:17 +08:00
parent 6869ccca50
commit bbdd2d7eed
5 changed files with 68 additions and 17 deletions

View file

@ -138,6 +138,8 @@ public:
int nn_audios;
// The original video messages.
int nn_videos;
// The number of padded packet.
int nn_paddings;
public:
std::vector<SrsRtpPacket2*> packets;
public:
@ -166,6 +168,7 @@ public:
SrsUdpMuxSocket* sendonly_ukt;
bool merge_nalus;
bool gso;
int max_padding;
public:
SrsRtcSenderThread(SrsRtcSession* s, SrsUdpMuxSocket* u, int parent_cid);
virtual ~SrsRtcSenderThread();