srs/trunk/3rdparty/srt-1-fit/srtcore
hondaxiao 90f1b482ab SRT: Build SRT from source by SRS. 4.0.115
..
ATTIC SRT: Build SRT from source by SRS. 4.0.115
README.md SRT: Build SRT from source by SRS. 4.0.115
api.cpp SRT: Build SRT from source by SRS. 4.0.115
api.h SRT: Build SRT from source by SRS. 4.0.115
buffer.cpp SRT: Build SRT from source by SRS. 4.0.115
buffer.h SRT: Build SRT from source by SRS. 4.0.115
cache.cpp SRT: Build SRT from source by SRS. 4.0.115
cache.h SRT: Build SRT from source by SRS. 4.0.115
channel.cpp SRT: Build SRT from source by SRS. 4.0.115
channel.h SRT: Build SRT from source by SRS. 4.0.115
common.cpp SRT: Build SRT from source by SRS. 4.0.115
common.h SRT: Build SRT from source by SRS. 4.0.115
congctl.cpp SRT: Build SRT from source by SRS. 4.0.115
congctl.h SRT: Build SRT from source by SRS. 4.0.115
core.cpp SRT: Build SRT from source by SRS. 4.0.115
core.h SRT: Build SRT from source by SRS. 4.0.115
crypto.cpp SRT: Build SRT from source by SRS. 4.0.115
crypto.h SRT: Build SRT from source by SRS. 4.0.115
epoll.cpp SRT: Build SRT from source by SRS. 4.0.115
epoll.h SRT: Build SRT from source by SRS. 4.0.115
fec.cpp SRT: Build SRT from source by SRS. 4.0.115
fec.h SRT: Build SRT from source by SRS. 4.0.115
filelist.maf SRT: Build SRT from source by SRS. 4.0.115
handshake.cpp SRT: Build SRT from source by SRS. 4.0.115
handshake.h SRT: Build SRT from source by SRS. 4.0.115
list.cpp SRT: Build SRT from source by SRS. 4.0.115
list.h SRT: Build SRT from source by SRS. 4.0.115
logging.h SRT: Build SRT from source by SRS. 4.0.115
logging_api.h SRT: Build SRT from source by SRS. 4.0.115
md5.cpp SRT: Build SRT from source by SRS. 4.0.115
md5.h SRT: Build SRT from source by SRS. 4.0.115
netinet_any.h SRT: Build SRT from source by SRS. 4.0.115
packet.cpp SRT: Build SRT from source by SRS. 4.0.115
packet.h SRT: Build SRT from source by SRS. 4.0.115
packetfilter.cpp SRT: Build SRT from source by SRS. 4.0.115
packetfilter.h SRT: Build SRT from source by SRS. 4.0.115
packetfilter_api.h SRT: Build SRT from source by SRS. 4.0.115
packetfilter_builtin.h SRT: Build SRT from source by SRS. 4.0.115
platform_sys.h SRT: Build SRT from source by SRS. 4.0.115
queue.cpp SRT: Build SRT from source by SRS. 4.0.115
queue.h SRT: Build SRT from source by SRS. 4.0.115
srt.h SRT: Build SRT from source by SRS. 4.0.115
srt4udt.h SRT: Build SRT from source by SRS. 4.0.115
srt_c_api.cpp SRT: Build SRT from source by SRS. 4.0.115
srt_compat.c SRT: Build SRT from source by SRS. 4.0.115
srt_compat.h SRT: Build SRT from source by SRS. 4.0.115
srt_shared.rc SRT: Build SRT from source by SRS. 4.0.115
threadname.h SRT: Build SRT from source by SRS. 4.0.115
udt.h SRT: Build SRT from source by SRS. 4.0.115
utilities.h SRT: Build SRT from source by SRS. 4.0.115
version.h.in SRT: Build SRT from source by SRS. 4.0.115
window.cpp SRT: Build SRT from source by SRS. 4.0.115
window.h SRT: Build SRT from source by SRS. 4.0.115

README.md

SRT Core

These files are contents of the SRT library. Beside files that are used exclusively and internally by the library, this directory also contains:

  • common files: usually header files, which can be used also by other projects, even if they don't link against SRT

  • public and protected header files - header files for the library, which will be picked up from here

Which header files are public, protected and private, it's defined in the manifest file together with all source files that the SRT library comprises of: filelist.maf.

Common files

This directory holds the files that may be used separately by both SRT library itself and the internal applications.

Source files are added to SRT library, so apps don't have to use them. However these source files might be used by some internal applications that do not link against SRT library.

Header files contained here might be required by internal applications no matter if they link against SRT or not. They are here because simultaneously they are used also by the SRT library.

Utilities

  1. threadname.h

This is a utility that is useful for debugging and it allows a thread to be given a name. This name is used in the logging messages, as well as you can see it also inside the debugger.

This is currently supported only on Linux; some more portable and more reliable way is needed.

  1. utilities.h

A set of various reusable components, all defined as C++ classes or C++ inline functions.

  1. netinet_any.h

This defines a sockaddr_any type, which simplifies dealing with the BSD socket API using sockaddr, sockaddr_in and sockaddr_in6 structures.

Compat and portability

  1. srt_compat.h

This part contains some portability problem resolutions, including:

  • strerror in a version that is both portable and thread safe
  • localtime in a version that is both portable and thread safe
  1. win directory

This contains various header files that are used on Windows platform only. They provide various facilities available OOTB on POSIX systems.

  1. platform_sys.h

This is a file that is responsible to include whatever system include files must be included for whatever system API must be provided for the needs of SRT library. This is a part of public headers.