A device capable of operating according to a wireless communications protocol, the device being configured to: receive media data from one of a plurality of inputs; determine an offset period of time in dependence on which one of the plurality of inputs the media data is received from; determine a time for playing the received media data in dependence on the determined offset period and a clock value; encapsulate the media data and time data representing the determined time in a broadcast packet; and broadcast the packet in accordance with the wireless communications protocol.