[FFmpeg-devel] [PATCH 3/3] avformat/opensrt: add Haivision Open SRT protocol

Nicolas George george at nsup.org
Thu Nov 23 22:07:41 EET 2017


nablet developer (2017-11-20):
> regarding re-using functions from network.c (like ff_network_wait_fd, ff_accept, etc)
> is suggested approach acceptable? is it okay to define such socket_api structure and pass to
> network.c calls?

I do not think so. These functions are very specific to the quirks of
the BSD socket API, and not very well designed at that. I would say to
only use them if you actually have a file descriptor. Hopefully, the
library should provide better base APIs, like operations with a timeout.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171123/fe824635/attachment.sig>


More information about the ffmpeg-devel mailing list