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

Sergio M. Ammirata, Ph.D. sergio at ammirata.net
Mon Feb 1 17:30:34 EET 2021



On Mon, 2021-02-01 at 16:25 +0100, Nicolas George wrote:
> Sergio M. Ammirata, Ph.D. (12021-02-01):
> This is a packet protocol. In your example above,
> thereader will get three reads of 20, 30 and 40
> Thank you for the clarification. I looked a little in the
> code in themeantime.
> Considering what was said, h->max_packet_size should be
> set to themaximum packet size allowed by librist.
> Unfortunately, this number seemsto be
> RIST_MAX_PACKET_SIZE and defined in a private.
> It does not make sense to have packet_size an option if
> it is notactually applied to librist, as it is in the
> current version of thepatch.
> For reading, max_packet_size must not be too low. For
> writing, it can belowered, but it is not specific to this
> particular protocol.

Correct, the write size has more to do with the desired IP
packet size than the protocol itself. It would be the exact
equivalent to the pkt_size setting on the udp output
module.
Sergio
> Regards,
> 
> _______________________________________________ffmpeg-
> devel mailing listffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> To unsubscribe, visit link above, or 
> emailffmpeg-devel-request at ffmpeg.org with subject
> "unsubscribe".


More information about the ffmpeg-devel mailing list