added an interface to get the rtp latency