the following patches implement Haivision SRT protocol. name OpenSRT is used to distinguish it from SRT subtitles. patches avoid copy-paste and associated maintanance burden by re-using existing code as much as possible (more specifically, tcp.c and network.c). network.c now allows to use other BSD-like socket APIs, for instance SRT or UDT. tcp.c is used as base for SRT protocol implementation, as SRT socket API closely ressambles TCP sockets.
Nablet Developer (3): avformat/network: allow to specify custom socket API avformat/tcp: use generic socket API avformat/opensrt: add Haivision Open SRT protocol configure | 10 ++ libavformat/Makefile | 1 + libavformat/network.c | 196 +++++++++++++++-------- libavformat/network.h | 34 ++++ libavformat/opensrt.c | 418 ++++++++++++++++++++++++++++++++++++++++++++++++ libavformat/protocols.c | 1 + libavformat/tcp.c | 118 +++++++------- libavformat/tcp.h | 59 +++++++ 8 files changed, 710 insertions(+), 127 deletions(-) create mode 100644 libavformat/opensrt.c create mode 100644 libavformat/tcp.h -- 2.7.4 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel