[FFmpeg-devel] [PATCH 0/3] avformat/opensrt: add Haivision Open SRT protocol
Nablet Developer
sdk at nablet.com
Thu Nov 9 11:31:29 EET 2017
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
More information about the ffmpeg-devel
mailing list