Connect to the datastream appropriately. Use dpm to get data about datastream.