I have iOS application that plays video through HTTP via AVPlayer.
I have MPVolumeView that allows to select airplay device to stream current playback to.
But now I need to have ability to programmatically stop video streaming, and continue playback on AVPlayer's video layer in my application on iPad screen. (Like MPVolumeView's button does, but programmatically)
Please, help me, I tried to find solution myself and with the help of google but I am not able to solve this problem:(
Is it really possible?
Thanks!