Method and system for adaptive encoding of real-time information in wireless networks