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:
parent
6869ccca50
commit
bbdd2d7eed
5 changed files with 68 additions and 17 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue