Improved RTP data logging.

Original patch tweaked ad optimized by Rolf Ahrenberg.