Currently i am showing a stream using AVPlayer
AVPlayer * player = [AVPlayer playerWithURL:url];
Activating airplay with MPVolumeView
with hidden volume slider works fine, and stream is presented on external device. But I would like to show stream video on both screens. After examining the AVPlayer documentation I have found no way to achieve this without having 2 AVPlayers one show on device with allowsExternalPlayback
set to NO and another with it set to yes activating only when airplay is setup (have not tried this out yet).
It seams to me that there should be an easier solution to this, hopefully I missed something in the docs.