You won’t get best SQ streaming from your iPad, but most optimal way to do it is using Chromecast Audio device with mini Toslink to Toslink optical cable.
https://www.whathifi.com/us/google/chromecast-audio/review
https://www.amazon.com/WIREWORLD-Supernova-Toslink-3-5mm-Optical/dp/B00KYXKE0O
https://www.whathifi.com/us/google/chromecast-audio/review
https://www.amazon.com/WIREWORLD-Supernova-Toslink-3-5mm-Optical/dp/B00KYXKE0O