Skip to content

Commit

Permalink
Merge branch 'Haivision:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
kgbook authored Nov 11, 2023
2 parents 73f9c7b + 4a8067c commit 31d41db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/API/API-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1832,7 +1832,8 @@ call [`srt_sendmsg2`](#srt_sendmsg) or [`srt_recvmsg2`](#srt_recvmsg2) function
for a group, you should pass an array here so that you can retrieve the status of
particular member sockets. If you pass an array that is too small, your `grpdata_size`
field will be rewritten with the current number of members, but without filling in
the array. For details, see the [SRT Connection Bonding: Quick Start](../features/bonding-intro.md) and
the array; otherwise both fields are updated to reflect the current connection state
of the group. For details, see the [SRT Connection Bonding: Quick Start](../features/bonding-intro.md) and
[SRT Connection Bonding: Socket Groups](../features/socket-groups.md) documents.

**Helpers for [`SRT_MSGCTRL`](#SRT_MSGCTRL):**
Expand Down
2 changes: 2 additions & 0 deletions srtcore/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6493,6 +6493,8 @@ int srt::CUDT::sndDropTooLate()
if (dpkts <= 0)
return 0;

m_iFlowWindowSize = m_iFlowWindowSize + dpkts;

// If some packets were dropped update stats, socket state, loss list and the parent group if any.
enterCS(m_StatsLock);
m_stats.sndr.dropped.count(stats::BytesPackets((uint64_t) dbytes, (uint32_t) dpkts));
Expand Down

0 comments on commit 31d41db

Please sign in to comment.