Avnu / libavtp

Open source implementation of Audio Video Transport Protocol (AVTP) specified in IEEE 1722-2016 spec.
BSD 3-Clause "New" or "Revised" License
62 stars 34 forks source link

Iec 61883/IIDC #17

Closed edersondisouza closed 5 years ago

edersondisouza commented 5 years ago

IEC 61883/IIDC support for libavtp

IEC 61883/IIDC is one of the video formats defined by AVTP (IEEE 1722-2016 chapter 5). This pull request adds support to it, and even though there was a focus on IEC 61883-4 (MPEG-TS encapsulation), this patch set should cover all of AVTP IEC 61883 needs.

For simplicity, the "namespace" chosen for IEC 61883/IIDC throughout the code is "avtp_ieciidc".

Naturally, this PR builds on top of what is already available on libavtp, such as common code for packetization and examples.

This PR also adds unit tests for IEC 61883/IIDC, and examples for an MPEG-TS talker and listener.

For more information about each patch, check the patch commit message.

Overall code coverage details are: lines......: 98.6% (2411 of 2445 lines) functions..: 100.0% (231 of 231 functions)

Let me know of any questions,

edersondisouza commented 5 years ago

v2:

edersondisouza commented 5 years ago

v3: Fixed missing breaks.

aguedes commented 5 years ago

Thanks Ederson, merging now.