avformat/librist: make packet size adjustable for writing, fix it for reading

Maximum packet size is 10000 (RIST_MAX_PACKET_SIZE, which is unfortunately
private) minus the RIST protocol overhead which is 28 bytes for the unencrypted
case, 36 for the encrypted case.

Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
Marton Balint
2021-03-06 22:26:13 +01:00
parent 4b1e387e25
commit deffb5ddce
2 changed files with 15 additions and 5 deletions

View File

@@ -714,6 +714,9 @@ This one is default.
@item buffer_size
Set internal RIST buffer size for retransmission of data.
@item pkt_size
Set maximum packet size for sending data. 1316 by default.
@item log_level
Set loglevel for RIST logging messages.