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

Crf #6

Closed rjingar closed 6 years ago

rjingar commented 6 years ago

CRF support for libavtp

This pull-request adds support for Clock Reference Format (CRF) to libavtp. CRF enables multiple AVTP talkers to synchronize their audio, video or control streams, generating presentation times synchronized to a reference clock, reducing the overhead on AVTP listeners. For further information about CRF, see Chapter 10 from AVTP spec [1].

This patchset covers basic CRF support with a simplest possible example which mainly focuses on how CRF stream can be used to recover media clock which AVTP talkers could use as presentation timestamps. Here is a summary of the patches in this PR:

For the sake of simplicity, the CRF example applications have the following limitations:

Overall code coverage details are: lines......: 98.5% (893 of 907 lines) functions..: 100.0% (89 of 89 functions)

Let me know if you need more details about the points mentioned above.

Thanks, Rajvi Jingar

[1] IEEE Std 1722™-2016 Specification: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7782716

aguedes commented 6 years ago

This PR looks good to me :+1:

Thank you, Rajvi!

andrew-elder commented 6 years ago

Thanks reviewers. Merging...