Post

Replies

Boosts

Views

Activity

iOS - Play audio from remote URL, with audio meters
So, I've been working on an app, and for part of it I have a record/playback system. For this to work correctly, I need to be able to: Record and play back local audio Use power levels to hook up to an audio level meter Play back remote audio from my server To be clear, I'm not asking for any help with the UI: I already have a working interface as well as an audio level meter. The problem is, AVAudioPlayer has audio metering, but it can't stream audio from the network. AVPlayer, on the other hand, can stream audio from the network, but doesn't have audio metering. I'm not sure what the thought process behind that was, but so far it seems like neither option works. AVAudioPlayer could work if I just downloaded the audio before playing, but it would be a lot nicer if I could just stream it. Is there something I'm missing, or is it impossible to stream audio with AVAudioPlayer (or have metering with AVPlayer)?
1
0
1.6k
Aug ’20
Should I be keeping track of in-app purchase subscriptions by myself?
I've had an app in the app store for a few months now, and we want to set up a premium version of it for people to subscribe to.The problem is, after looking at some of the videos on engineering auto-renewable subscriptions, I'm not sure about our ability to create a system that's reliable enough, and I don't really want to mess around with that when it comes to money...especially when I'd be tracking subscriptions from Android and possibly web as well. All I want is a service that will keep track of that for me. I came across Stripe while researching that, and honestly it looks like a way better option than in-app purchases. But Apple doesn't want to give me a choice about that so...what do I do? Is there a better service that would integrate with in-app purchases rather than going around them?And on top of that I need to make my prices low enough that people will be willing to pay them, yet high enough to pay for the cost of running my servers, and since Apple's already taking 30%, it would be great if I didn't have to pay any more out of that.
9
0
987
Jun ’20