Skip to content

[BUG] SRTO_MSS = 1300 splits one message into two packets in TSBPD mode. #2589

@maxsharabayko

Description

@maxsharabayko

The default configuration in TSBPD mode is

  • SRTO_MSS = 1500;
  • SRTO_PAYLOADSIZE = 1316.

Trying to send a payload exceeding SRTO_PAYLOADSIZE leads to an error returned from srt_sendmsg2(..).
In the live configuration, it is expected that a message must fit into a single SRT data packet.

If SRTO_MSS < SRTO_PAYLOADSIZE, a message will be split into two packets.
For e.g. setting SRTO_MSS = 1300 and sending 1316 bytes long messages would produce two packets per message.

SRT v1.5.1 and prior.

Metadata

Metadata

Assignees

Labels

Type: BugIndicates an unexpected problem or unintended behavior[core]Area: Changes in SRT library core

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions