netclock: Implement sending statistic bus messages and discont limits
authorJan Schmidt <jan@centricular.com>
Sat, 10 Jan 2015 10:42:00 +0000 (21:42 +1100)
committerJan Schmidt <jan@centricular.com>
Wed, 21 Jan 2015 11:27:18 +0000 (22:27 +1100)
commit1c9c9847fdfd901b62c76df4e99684731cf5a16e
tree1be27777965bec56951380733b8354546deda729
parent4bc7d34f57b268ef62abfc8bc19cf3df4d6bc790
netclock: Implement sending statistic bus messages and discont limits

Allow setting a GstBus on the network clock client
via a new 'bus' object property. If a bus is set, the
clock will output an element message containing statistics
about new clock observations and the clock correlation.

When the local clock is synchronised with the remote, limit the
maximum jump in the clock at any point to be one average RTT to
the server. Also, publish in the bus message whether we are
synched with the remote or not.
libs/gst/net/gstnetclientclock.c