RTP sanity-checker and offset calculator

Signed-off-by: Malric <malricdal@gmail.com>