Posts

Post not yet marked as solved
2 Replies
933 Views
I have a swift app that uses streaming audio (AVPlayer) and I need to set the UserAgent string to something custom, for the sake of this question the custom string is "StreamApp4.0". I've seen a number of articles that address setting the useragent string for a web view but not AVplayer. Could someone please let me know how to set it for AVplayer?
Posted
by wavejam.
Last updated
.
Post not yet marked as solved
2 Replies
4.5k Views
Hi All. Writing a swift iOS app (target iOS 13.1) and wanted to know if AVAudioPlayer or something else would fit these requirements:- Stream from URL (with auto-reconnect if network hiccups)- Stop and Start button (obviously)- Ability to choose the stop/start button images- Volume slider- Ability to use the switch object to switch between two audio streams (two different URLs)- Audio plays when app is in background- Display title/track metadata- And would really like an audio level meterI pieced together all these (with help of freelancers) when the app was in Obj-C. Now rebuilding in Swift.P.S. I'm an advanced newbie (a notch above newbie) so go easy on me :-)Thank-you!
Posted
by wavejam.
Last updated
.