-
Notifications
You must be signed in to change notification settings - Fork 917
Open
Labels
Priority: MediumType: MaintenanceWork required to maintain or clean up the codeWork required to maintain or clean up the code[core]Area: Changes in SRT library coreArea: Changes in SRT library core
Milestone
Description
SRT v1.3.2 and lower had the default maxbw value is 30 Mbps. Since v1.3.3 the default value is 1 Gbps (#760).
The limitaion is not obvious for the end user.
v1.3.2 and earlier
const int64_t BW_INFINITE = 30000000/8; //Infinite=> 30Mbps
Since v1.3.3
const int64_t BW_INFINITE = 1000000000/8; //Infinite=> 1Gbps
This value affects the sending period of the packets.
void updatePktSndPeriod()
{
// packet = payload + header
double pktsize = m_iSndAvgPayloadSize + CPacket::SRT_DATA_HDR_SIZE;
m_dPktSndPeriod = 1000*1000.0 * (pktsize/m_llSndMaxBW);
}
- Suggested default value:
-1. Zero packet send period. - If the sender skips packet due to the bandwidth, a proper message should be shown to the user, that the packet is dropped due to MAXBW is less the sending rate tries to use.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Priority: MediumType: MaintenanceWork required to maintain or clean up the codeWork required to maintain or clean up the code[core]Area: Changes in SRT library coreArea: Changes in SRT library core