1460662956-bd1cbbd4-5515-4f47-9e15-4ed83e145cac

Authentication in an ad-hoc network is established between a first device and a second device using a third device. Embodiments of the present disclosure provide a gain and phase controller that uses a digital gain and phase estimator to jointly estimate both gain and phase. Upon determining that the first portion does not include a header, the probable location of the header in the media file is determined and a header portion of the file is received at the ingest server.