user1960169 user1960169 - 1 year ago 72
iOS Question

How to play Audio only in a video file in AVPlayer

Is there any way to play audio only in

Even though the url stream has both Audio and video?

Answer Source

Make your video player size 0x0 or place it outside of the screen.