You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/3rdparty/srt-1-fit/srtcore
winlin e3bca883e1 SuqashSRS4: Build SRT native 4 years ago
..
ATTIC SuqashSRS4: Build SRT native 4 years ago
README.md SuqashSRS4: Build SRT native 4 years ago
api.cpp SuqashSRS4: Build SRT native 4 years ago
api.h SuqashSRS4: Build SRT native 4 years ago
buffer.cpp SuqashSRS4: Build SRT native 4 years ago
buffer.h SuqashSRS4: Build SRT native 4 years ago
cache.cpp SuqashSRS4: Build SRT native 4 years ago
cache.h SuqashSRS4: Build SRT native 4 years ago
channel.cpp SuqashSRS4: Build SRT native 4 years ago
channel.h SuqashSRS4: Build SRT native 4 years ago
common.cpp SuqashSRS4: Build SRT native 4 years ago
common.h SuqashSRS4: Build SRT native 4 years ago
congctl.cpp SuqashSRS4: Build SRT native 4 years ago
congctl.h SuqashSRS4: Build SRT native 4 years ago
core.cpp SuqashSRS4: Build SRT native 4 years ago
core.h SuqashSRS4: Build SRT native 4 years ago
crypto.cpp SuqashSRS4: Build SRT native 4 years ago
crypto.h SuqashSRS4: Build SRT native 4 years ago
epoll.cpp SuqashSRS4: Build SRT native 4 years ago
epoll.h SuqashSRS4: Build SRT native 4 years ago
fec.cpp SuqashSRS4: Build SRT native 4 years ago
fec.h SuqashSRS4: Build SRT native 4 years ago
filelist.maf SuqashSRS4: Build SRT native 4 years ago
handshake.cpp SuqashSRS4: Build SRT native 4 years ago
handshake.h SuqashSRS4: Build SRT native 4 years ago
list.cpp SuqashSRS4: Build SRT native 4 years ago
list.h SuqashSRS4: Build SRT native 4 years ago
logging.h SuqashSRS4: Build SRT native 4 years ago
logging_api.h SuqashSRS4: Build SRT native 4 years ago
md5.cpp SuqashSRS4: Build SRT native 4 years ago
md5.h SuqashSRS4: Build SRT native 4 years ago
netinet_any.h SuqashSRS4: Build SRT native 4 years ago
packet.cpp SuqashSRS4: Build SRT native 4 years ago
packet.h SuqashSRS4: Build SRT native 4 years ago
packetfilter.cpp SuqashSRS4: Build SRT native 4 years ago
packetfilter.h SuqashSRS4: Build SRT native 4 years ago
packetfilter_api.h SuqashSRS4: Build SRT native 4 years ago
packetfilter_builtin.h SuqashSRS4: Build SRT native 4 years ago
platform_sys.h SuqashSRS4: Build SRT native 4 years ago
queue.cpp SuqashSRS4: Build SRT native 4 years ago
queue.h SuqashSRS4: Build SRT native 4 years ago
srt.h SuqashSRS4: Build SRT native 4 years ago
srt4udt.h SuqashSRS4: Build SRT native 4 years ago
srt_c_api.cpp SuqashSRS4: Build SRT native 4 years ago
srt_compat.c SuqashSRS4: Build SRT native 4 years ago
srt_compat.h SuqashSRS4: Build SRT native 4 years ago
srt_shared.rc SuqashSRS4: Build SRT native 4 years ago
threadname.h SuqashSRS4: Build SRT native 4 years ago
udt.h SuqashSRS4: Build SRT native 4 years ago
utilities.h SuqashSRS4: Build SRT native 4 years ago
version.h.in SuqashSRS4: Build SRT native 4 years ago
window.cpp SuqashSRS4: Build SRT native 4 years ago
window.h SuqashSRS4: Build SRT native 4 years ago

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.