Complete RTP pub/sub subsystem (stable API now). General code cleanup.