srt: obsolete SRT_PARAM_CHUNK_SIZE and SRT_PARAM_PAYLOAD_SIZE
Firstly, SRTO_PAYLOADSIZE has no effect for receiver. Secondly, since there is no negotiation of payload size between sender and receiver, the receiver should use a buffer at least SRT_LIVE_MAX_PLSIZE bytes, otherwise the data can be truncated. So the default value of option SRT_PARAM_CHUNK_SIZE is inappropriate. User may know exactly the sender's payload size to set the value for SRT_PARAM_CHUNK_SIZE, but there is no much gain for doing that. (cherry picked from commit 0b0cc7ff) (edited) edited: * 3.0 had the advanced flag in obsolete parameters Signed-off-by:Steve Lhomme <robux4@ycbcr.xyz>
Loading
Please register or sign in to comment