for bug #251, refine the directly access ptrs for hls,dvr,forwarder,consumer.