[FFmpeg-devel] [PATCH] libavformat: add librist protocol

Nicolas George george at nsup.org
Mon Feb 1 17:25:39 EET 2021


Sergio M. Ammirata, Ph.D. (12021-02-01):
> This is a packet protocol. In your example above, the
> reader will get three reads of 20, 30 and 40

Thank you for the clarification. I looked a little in the code in the
meantime.

Considering what was said, h->max_packet_size should be set to the
maximum packet size allowed by librist. Unfortunately, this number seems
to be RIST_MAX_PACKET_SIZE and defined in a private.

It does not make sense to have packet_size an option if it is not
actually applied to librist, as it is in the current version of the
patch.

For reading, max_packet_size must not be too low. For writing, it can be
lowered, but it is not specific to this particular protocol.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210201/b69f05ce/attachment.sig>


More information about the ffmpeg-devel mailing list