0:00:00welcome to under the radar a show hood
0:00:01independent iOS app development I'm
0:00:03Marco Arment and I'm David Smith under
0:00:05the radar is never longer than 30
0:00:06minutes so let's get started
0:00:08so we want to record a regular episode
0:00:10this week and in our preamble where we
0:00:11just kind of casually talk with each
0:00:13other before we record we ended up
0:00:14having a better discussion than whatever
0:00:16we were gonna talk about so we're we're
0:00:18gonna use that as the episode this week
0:00:20just some some context here I've been
0:00:23thinking about trying various ways to
0:00:25bring back watch offline audio playback
0:00:29for overcast you can play a background
0:00:32audio if you're a workout app so one
0:00:34option I'm considering is just making
0:00:36overcast a workout app on the watch
0:00:38where it would have to start its own
0:00:39workouts manage them in the overcast
0:00:42interface and then you know you could
0:00:44you can play the stuff in the background
0:00:46offline as long as they workout is
0:00:48running in the overcast app and as it
0:00:50has all sorts of problems and everything
0:00:52but it would work you know you you are
0:00:55the audio and watch expert I don't know
0:00:59nearly as much about the watch OSAP eyes
0:01:01as you do so you know I've been bouncing
0:01:03questions off of you of like can I do
0:01:04this can I do this like what are the
0:01:06downsides of this you also know a lot
0:01:07about health kit and dealing with health
0:01:08care which I have no experience with so
0:01:10I'm asking I've been asking you
0:01:11questions like you know what are the
0:01:13downsides of being a workout app and
0:01:15having to save data to health kit and
0:01:17work with health kit and how all the
0:01:18permissions for that and you've been
0:01:21experimenting with a project to have a
0:01:24workout audio player on the watch right
0:01:26yeah and so I've been playing since the
0:01:30LTE watch was announced I was like well
0:01:31maybe I need to try this and that it
0:01:33because as we get into and the
0:01:36discussion you know here it's a lot of
0:01:38things become pump more possible on the
0:01:39watch if you are a workout app I was
0:01:41like well I have a workout app I have
0:01:42workouts plus plus and the point of
0:01:44workouts opposed plus is to be this sort
0:01:46of super user like lots of customization
0:01:49kind of you know power app and so maybe
0:01:53adding podcasts playback to that
0:01:55wouldn't be crazy and so I've been
0:01:56experimenting with it and kind of
0:01:57building this out and it's in the II
0:02:00like working prototype stage at this
0:02:02point and it's kind of interesting to
0:02:03see you know is this a viable thing does
0:02:05it make sense and do we want to take it
0:02:07on
0:02:08yeah hopefully you enjoy the discussion
0:02:10it's I personally I think I like these
0:02:13kinds of discussions where because like
0:02:14Marco and I we do this a lot it's
0:02:16probably fair to say like where it's
0:02:18useful to think through something out
0:02:20loud where there's you you're dealing
0:02:23with all these problems sequentially and
0:02:25you're able to benefit from each other's
0:02:26experience and just kind of see how
0:02:28these things evolve and you often end up
0:02:30in a place that's so different than what
0:02:32you may have thought you would when you
0:02:33were starting all right so with that
0:02:35here's our discussion we were having
0:02:36about these crazy things enjoy the
0:02:38episode and right before we start we are
0:02:40brought to you this week by Linode fast
0:02:42powerful web hosting options you can set
0:02:45up in just seconds and plans start at
0:02:47just five dollars a month for a Linux
0:02:49server with one gigabyte or
0:02:52industry-leading performance with native
0:02:55SSD storage user enterprise grade SSDs
0:02:57and access to before two gigabit network
0:02:59and intel xeon e5 processors these are
0:03:01the fastest processors available in the
0:03:02cloud market they have nine datacenters
0:03:04all over the world an API lets you
0:03:07easily automate tasks if you want with
0:03:08super simple scaling and hourly or
0:03:11monthly billing options they a fantastic
0:03:13pricing again all this starts with just
0:03:14$5 a month for one gig of ram about
0:03:17twice the amount of ram that you will
0:03:19get in other hosts like this I think
0:03:21it's the best deal of my posting I use
0:03:23it David uses it we lovely note it's
0:03:25wonderful as a listener of this show if
0:03:27you sign up at lynda.com slash radar you
0:03:30will support us and get $20 towards any
0:03:32Linode plan and with a 7 day money back
0:03:34guarantee there is nothing to lose so go
0:03:37to lynda.com slash radar to learn more
0:03:39sign up and take advantage of that $20
0:03:42credit or use promo code radar 2017 at
0:03:44checkout thank you so much to Linode for
0:03:46supporting this show I've made a lot of
0:03:51progress in workouts plus plus podcast
0:03:54player that's good it's just so slow to
0:03:56download and that it works like it's
0:03:59just it makes me feel like I'm down like
0:04:01downloading these files on a like a
0:04:04dial-up modem and so that makes me like
0:04:06I'm very curious to see what like an 80%
0:04:08faster Wi-Fi chip and the new watch will
0:04:12be and and I forget so last time when
0:04:15you were talking about this and telling
0:04:17me all the wonderful things you were
0:04:18finding the conclusion I believe you
0:04:20came to was
0:04:21it's pretty much impossible to do it
0:04:23right without an active workout running
0:04:25so you're like if you're just using
0:04:26audio file player in the background and
0:04:28you're not doing a workout
0:04:30what do the main is the main problem
0:04:32still that like it doesn't wake your app
0:04:33up when somebody hits the end and stuff
0:04:35like that I think it is it's along those
0:04:38lines yeah like a you'll have weird
0:04:40issues for example around interaction
0:04:43with the now playing control for example
0:04:46and things because in order to interact
0:04:47correctly with an out playing control
0:04:49you have to be running because you need
0:04:50to be constantly monitoring the status
0:04:53of the cue player because when they hit
0:04:56forward
0:04:57it's obviously you're not actually it's
0:04:59not skipping the file forward it's it's
0:05:00doing a next track and so you need to
0:05:02intercept that and override it there's a
0:05:05lot of things like that that if you're
0:05:07not doing a workout you won't have the
0:05:10ability to to do that interception like
0:05:13you'll get your little background you
0:05:15because as far as its concerned you've
0:05:17said play this file and it'll just
0:05:19merrily play it to the end or are they
0:05:21hitting it there are they hit next and
0:05:23then it would just stop I wish they
0:05:24would just wake you up in the background
0:05:26whenever like an event like that
0:05:28happened either somebody reaches the end
0:05:30or somebody advances to the next thing
0:05:31in the queue like sure I mean I mean
0:05:33they should and they're like I'm gonna
0:05:35up now playing side there's a ton of
0:05:36stuff that you really should do there
0:05:38yeah I rather than just like doing craze
0:05:41doing whatever to the file it should
0:05:42probably be in the same way that on iOS
0:05:44it does like you get a like an app
0:05:47delegate callback that says this button
0:05:50was pressed and then leave it up to me
0:05:52to do whatever I want to do with that I
0:05:54mean they probably don't do that because
0:05:56if they're gonna suspend you you
0:05:57probably can't be resumed fast enough to
0:05:59be responsive fund fundamentally the
0:06:01architecture is intended to be that if
0:06:04you are running that like it's this
0:06:05fire-and-forget kind of a thing that you
0:06:07say like play this file and then you can
0:06:11kill the app and it would be fine
0:06:13whereas in order to really do it
0:06:16properly you need to always be running
0:06:17which in the current form means you
0:06:19neither need to be a turn-by-turn
0:06:21navigation app or you need to be a
0:06:22workout app and also there's a bunch of
0:06:25other just like things that seem like if
0:06:27you're like keeping track of how far
0:06:30they've gotten for like bookmarking
0:06:31reasons and things
0:06:33um being a workout app is also something
0:06:35that seems somewhat important to be able
0:06:37to in the same way like I mean
0:06:39functionally the way I've built it now
0:06:40it just once a second I have the timer
0:06:44going and I'm just keeping track of how
0:06:46far they got and then also seeing has
0:06:49the cue changed and if it has adjusted
0:06:52you know she's restarting it thirty
0:06:54seconds ahead essentially you know it's
0:06:57mostly I do the back button still
0:06:58doesn't work but as far as I can tell I
0:07:01can't fix that because with a cue like
0:07:05the cue is strictly forward moving it
0:07:08doesn't go backwards because I get first
0:07:10what I was good at first what I did is I
0:07:11I set the cue up as play thirty seconds
0:07:14of silence played the podcast play
0:07:16thirty seconds of silence in the hope
0:07:18that if you hit back it would go back to
0:07:21the first thirty seconds of silence I
0:07:24can detect that you've jumped backward
0:07:25and then readjust play accordingly but
0:07:30that didn't work because hitting back
0:07:31just does nothing it just stops so this
0:07:35is I can tell there's nothing to be done
0:07:36there like it when you're playing the
0:07:39file the back button is like meaningless
0:07:42there's no like all it does is stop
0:07:44playback so I don't know that seems like
0:07:47that's just a bug and or a limitation of
0:07:50how he's implemented yes afford works
0:07:52and play pause works and now you're
0:07:55making me do this cuz like I figure I
0:07:57pretty much have the file transfer side
0:07:59of it solved I have my transcoding
0:08:01engine trend it makes it lower bitrate a
0:08:03base in smart speed if I do it again
0:08:05what I'm gonna do basically is just have
0:08:07it automatically sync stuff over
0:08:09overnight is there our background app
0:08:11refresh for the main extension like
0:08:14could I wake up them like periodically
0:08:16throughout the night and like cue up a
0:08:18back you a URL task or something like is
0:08:21that a thing I can do you you could you
0:08:23could ask to send the file to the watch
0:08:27but you would have no visibility as to
0:08:30when or if that is actually going to
0:08:32happen right there's no way for the user
0:08:36to prioritize or activate that so like
0:08:42you could in your app overnight say hey
0:08:44here's this file when
0:08:46when when it's convenient please
0:08:48transfer it to the watch and that would
0:08:50work but you don't know when and like
0:08:52that's the part of it like for when I
0:08:54was thinking through on my side of
0:08:56things I was like I needed up I'm just
0:08:59going to do it that it downloads using
0:09:01you know nsurl connection or nsurl
0:09:04session because it that way at least I
0:09:06can show the user what's going on by
0:09:09giving them that sense of feedback at
0:09:11least it's not frustrating for like well
0:09:13where's my file yeah I and it's like I
0:09:16see where you're going that I think it
0:09:17works in so far as like if you can do it
0:09:20when they're not when they're not paying
0:09:21attention and it works well enough then
0:09:23that may be good enough and you think
0:09:25that overnight if you play like if your
0:09:28watch is plugged in and your phone is
0:09:30plugged in that it would be use that as
0:09:33a good opportunity to move things across
0:09:35unless it needs for them to be unlocked
0:09:38yeah like I wonder like it is the
0:09:40session even active if they're both
0:09:42locked sitting on the table yeah that's
0:09:44a weird question because I don't know if
0:09:45it would say that hey this is a great
0:09:47opportunity to do it right or it would
0:09:49say the watch is off the wrist I'm not
0:09:51gonna do anything is the watch connected
0:09:55in the same way like is it in a like I'm
0:09:58asleep state because I'm not connected
0:10:00to a wrist anymore I don't know yeah so
0:10:03it's a bit of a mess I think I think
0:10:05first I will try the file transfer thing
0:10:08I'll just like set it up and just you
0:10:10know just but I don't have any playback
0:10:11you I just to see like is it able to
0:10:13stay on top of things that could
0:10:15automatically transferred overnight my
0:10:16idea is just like an automatically sync
0:10:18over like your whole queue and then you
0:10:20know once you finish that like you know
0:10:21basically try to sync overlay 24 hours
0:10:23of audio that's like you know finish the
0:10:26cue and then start just pulling new
0:10:28podcasts that have come in that aren't
0:10:31yet there and just just have tried to
0:10:32sink as much as possible if the workout
0:10:34hack is a way to simulate a decent or
0:10:37semi decent podcast audio player I'm
0:10:40going to go through all that all that
0:10:41hassle if it can be an overall good
0:10:44experience for the people who choose to
0:10:45go all-in on it so if you're willing to
0:10:47do a workout while you're playing things
0:10:50on your watch which I think most people
0:10:51are probably going to be doing one
0:10:52anyway during those times I'm willing to
0:10:54have this work again if everything else
0:10:57can be good like if the transfer
0:10:58experience can be good if the playback
0:11:00can be you know passable the awkward
0:11:04thing is just it's just so hard to know
0:11:05like the reason you ended up pulling it
0:11:07is because it worked but it didn't work
0:11:10well yeah and I suspect you will still
0:11:14have that same experience of like it'll
0:11:16work but it won't work well yeah and
0:11:19then you get into is it the same reason
0:11:21for the same reason that you pulled it
0:11:23last time is it better to just wait and
0:11:25hope that 4.1 or something will make it
0:11:29better and like ship it when it really
0:11:32works rather than it it's kind of a
0:11:35bundle of hacks in a lot of ways and the
0:11:38way I'm thinking about that now is like
0:11:40first of all like things have changed
0:11:42now with the release of the LTE watch
0:11:44demand is now going to be way higher so
0:11:46that changes the calculus a little bit
0:11:48because now all of a sudden like there's
0:11:49way more people who are going to be
0:11:51wanting standalone playback also if I
0:11:55make it a workout app that also solves
0:11:57the other purpose of just being
0:11:58convenient when you're working out like
0:12:01that that's gonna be the app that's
0:12:02gonna pop up first when your watch
0:12:03screen wakes up that you're gonna be
0:12:05able to see everything on just one
0:12:07screen instead of having to like pay
0:12:08between two things in the watch app
0:12:10horse or swap between two apps with like
0:12:12the rapid swapping features or like it
0:12:14can be better in these ways beyond what
0:12:17it was before if that makes sense
0:12:19oh sure I mean then you're thinking if
0:12:21you're a workout app then it's just you
0:12:23need to do all the health stuff yeah but
0:12:26but like so so what are the repos
0:12:28already have a privacy policy what else
0:12:31do I need I mean I think the biggest
0:12:32things is you look these easy ones like
0:12:35you have to add a disclaimer to your
0:12:36apps or description saying that you
0:12:37integrate with health that's all right I
0:12:39already have a big pile of those for
0:12:40subscriptions yeah it's like you need to
0:12:41have we need to do that and then it's
0:12:43just you'll need to add some at some
0:12:45point you'll need to throw up
0:12:48the health prompt requesting access on
0:12:51the phone to their health data like a
0:12:54very common thing that'll happen is they
0:12:56will gather that they'll not acted
0:12:59they'll not turn them all on and then be
0:13:01like why isn't my data there or the
0:13:02permissions won't sync correctly and so
0:13:04you have to tell them to go to the
0:13:06health app go to sources click your app
0:13:08turn them all off turn them all on
0:13:10Oh usually that resets it these are just
0:13:15like from a support perspective that
0:13:17come up with the health frameworks
0:13:19because there is such a like all of the
0:13:22permissions and privacy stuff that you
0:13:24then have to navigate just is a bit more
0:13:27tricky I don't think there's that you
0:13:29have to deal with people getting annoyed
0:13:30if you're for whatever reason you don't
0:13:32save the data correctly but I mean
0:13:34that's just like people people keep CC
0:13:36there they're very precious about their
0:13:38workouts of course so like if the app
0:13:40crashes during the workout they're very
0:13:42upset because they're like I'm working
0:13:43hard to earn this stat and you stole it
0:13:45from me that is worth a joke and
0:13:47actually how they feel like it feels
0:13:50like I took something from them that
0:13:51they worked towards when I suppose it's
0:13:53true in some ways but yeah I mean those
0:13:56are the big things I mean it's just it's
0:13:58just one other it's one other Avenue for
0:14:00things too that you have to now manage
0:14:02in terms of be like both the user
0:14:05experience which is a little awkward as
0:14:08well as I mean in general the confound
0:14:11haven't had too many issues on like the
0:14:13compliance or worry about people's data
0:14:15because I don't actually store any of
0:14:16their data all their data is in the
0:14:19health app if the only thing I'd be
0:14:21doing here is activating a workout
0:14:23session displaying its data on the
0:14:24screen during it and then saving it to
0:14:27health care that's it the other thing
0:14:29you'll have to navigate on your side
0:14:31that's related to that is Deakin I think
0:14:33you will have a fair bit of confusion
0:14:35around needing to have a workout active
0:14:39to start offline playback yeah and then
0:14:43that they need like if you send the
0:14:44workout the playback will stop will
0:14:47likely be more confusing because when
0:14:48you're playing from your phone that's
0:14:51not the case like you use the watch app
0:14:53while you're playing from your phone you
0:14:56there's no connection whatsoever and so
0:14:58I think they'll likely be confusing as
0:15:02to want I think why do I need to why do
0:15:06I need to start a workout I'm not
0:15:07working out to her I don't want to drain
0:15:11my battery with the heart rate monitor
0:15:13all the time I just want to listen to a
0:15:14podcast it's like well you need to
0:15:16because the primary purpose is to look
0:15:18for your app is to listen to the podcast
0:15:20not to do a workout I imagine there will
0:15:23be a dissidence there
0:15:24that's oh definitely yeah and that's
0:15:27that's the main argument for whether I
0:15:28should or shouldn't do this or not is
0:15:30like how bad is that basically yeah like
0:15:33how bad is combining these things and
0:15:36then what happens like if watch OS 5
0:15:39gives me the ability to do it without a
0:15:40workout then do I remove all these
0:15:42features that like yeah you are taking
0:15:45on the people's expectation that oh this
0:15:47is the app I use for a workout now yeah
0:15:49and so you are you then becoming a
0:15:51workout app forever and if they have
0:15:53Apple changes the way workouts can do or
0:15:55adds capabilities for workouts will you
0:15:58then have the problem of people being
0:16:00like oh I want you going to support the
0:16:02new something something workout system
0:16:04it but it may not really besides it's
0:16:06not really at all aligned with the core
0:16:08goal of the app I guess the advantage
0:16:09there is like they don't add new workout
0:16:11types that often usually it's like it's
0:16:13once a year it's you know during the
0:16:14watch OS update they'll add a few new
0:16:15ones so like it and the way I'm
0:16:17picturing the UI is like I replace the
0:16:18star button with a workout start/stop
0:16:20button and it pops up a tableview list
0:16:22that just says like alright pick your
0:16:24workout type and and you know it can't
0:16:25be smart and like you know sort the last
0:16:27ones you've used on top just throw that
0:16:29with the same the system workout app
0:16:30does yeah but like it doesn't matter how
0:16:32long that list is and then the API for
0:16:34all of them is the same so it wouldn't
0:16:36add like I think it would only add
0:16:38elements to that list as the workload
0:16:41right sure I mean necessarily I might
0:16:43just like workout types I think that's
0:16:45like so there's an example the recent
0:16:48addition in this I can watch OS 4 you
0:16:50can now do location tracking so you can
0:16:53get the map of where you walked while
0:16:55you went for your walk but in order to
0:16:57do that you need to implement all the
0:16:59core location stuff yourself oh I didn't
0:17:02know that wait so if I just start a
0:17:04workout and I do like just record like
0:17:07you know like I saw the this code sample
0:17:08online when I looked at it like last
0:17:10month and so if I just do like you know
0:17:12saving like the samples or whatever that
0:17:15does it it doesn't keep a GPS map no oh
0:17:19god so you have to implement that
0:17:21yourself
0:17:21otherwise you lose the ability to have
0:17:23your GPS maps oh that's really bad so
0:17:26this is the this is that's more what I
0:17:28mean where it's really uh it's like as
0:17:30people's expectations for what a workout
0:17:32like because then if all of the overcast
0:17:34workouts don't have location data
0:17:37then is that gonna be annoying and
0:17:38frustrating and know what we want not
0:17:41what they want and do you want to go
0:17:42down the road for now implementing core
0:17:44location tracking and so on so that's
0:17:48more what I mean conceptually what
0:17:52you're sort of herders it's like having
0:17:53a workout app that's super minimal I
0:17:56mean maybe you could even just like all
0:17:58I can do is runs and walks right like
0:18:00even if you just said that that's what
0:18:01it does it's like it's just four runs
0:18:03and walks it's the purpose of any sort
0:18:05of like pedometer plus plus is workout
0:18:07app we're on the on the watch you can
0:18:09say like start a walk which for
0:18:12pedometer plus plus kind of it's like
0:18:14outdoor walk is the only workout type
0:18:15yeah because it's it's a pedometer like
0:18:18that's what it's it's four counting
0:18:19steps so narrowing it in that way it
0:18:22doesn't limit it too much but is it
0:18:25because you know your core purpose is
0:18:28not specific in fact it has nothing to
0:18:30do with working out it may be something
0:18:32that people do while they work out but
0:18:34it's got nothing to do with working out
0:18:35like it's I don't know and of course
0:18:39they have to worry about your cards that
0:18:40you're still worrying about your card
0:18:41API and your massive redesign and so who
0:18:45knows maybe you've got time you get
0:18:46finished with your cards watch it was a
0:18:48five will have come out and then it will
0:18:50all be a mute you know who all be fixed
0:18:52at that point so you don't even have to
0:18:53worry about it oh man alright so if I
0:18:56wanted to do this right I would have to
0:18:58not only have all the workout stuff
0:19:00starting and stopping the workout have
0:19:02that being basically tied to the
0:19:04play/pause button where they would like
0:19:05disable it when you're not running a
0:19:06workout but also have location tracking
0:19:10in my Abdur in the workout presumably
0:19:12I'd have to just like you know do
0:19:14continuous monitoring save the samples
0:19:16yep can you give location access with a
0:19:19prompt that only appears in the watcher
0:19:21does it prompt you on the phone I think
0:19:22it'll still show up on the phone they've
0:19:25made it anyone watch was for a couple of
0:19:27the prompts are now on the like the
0:19:30motion and Fitness one which is the one
0:19:31that I'd like interact with a lot is now
0:19:33possible to used to use to have to do it
0:19:35on the phone
0:19:36now it'll pop up and say you can approve
0:19:39it from the watch but yes I think health
0:19:42ones still require that you go to the
0:19:44phone which makes sense because they're
0:19:46so much more complicated
0:19:47and I don't know about location it
0:19:50wouldn't surprise me if you can do it on
0:19:52the watch now just because they did it
0:19:54for a look motion and fitness as well
0:19:55but I don't know that for sure this is
0:19:58just adding more and more clunkiness
0:20:00sure it does right and now all in any of
0:20:05the same thing it's like now you have a
0:20:06question of you need to have navigate
0:20:09people with location privacy or people
0:20:12come like try it looks like why does my
0:20:15podcast player need to know where I am
0:20:16and those types of questions which are
0:20:19enough attack both because if you want
0:20:21your workout map then I have to do this
0:20:24but all right so what if so what if I
0:20:28don't do workout stuff at all
0:20:29and I and just to recap so if I go back
0:20:32if I if I do wk audiophile player
0:20:35yeah I'm sure like what's the best I
0:20:38could do so like the bet that the
0:20:40problems that so now we know the
0:20:41problems of doing a workout at all this
0:20:42confusion all this overhead all this you
0:20:44know additional having to prompt for
0:20:45permissions and manage those permissions
0:20:47and everything maybe involving the phone
0:20:49and so ok if I go back to not having a
0:20:52workout go back to the way I was doing
0:20:54it before just this time with dub UK
0:20:56audio file player instead of AP audio
0:20:58ap file play whatever it is the main
0:21:00downsides to that is if somebody hits
0:21:03next track or previous track on their
0:21:04pods playback will stop and it will it
0:21:07won't be able to be restarted until they
0:21:09you know go to my app again and you
0:21:11won't know where they left off so what
0:21:14so if they got alright so fundamentally
0:21:18like the problem is that it's like you
0:21:19if you if you go down that road like the
0:21:22issue is it changes it from being able
0:21:26to like be the basic expectation with a
0:21:28podcast that you have a bookmark where
0:21:29you're keeping track and you like are
0:21:32offsetting from that doesn't work unless
0:21:35you can keep track of that bookmark
0:21:36right so if the user so let's say you
0:21:39know they they get back to their house
0:21:40they end the workout and they turn off
0:21:42their headphones or whatever it is like
0:21:44they they stop playback somehow and I'm
0:21:47not notified of that at all right not at
0:21:49all or at least you are almost certainly
0:21:53not like your app theoretically could be
0:21:54in the like if it was the last thing
0:21:58they had running you may be in the not
0:22:00fully background
0:22:01but not for grounded state so you may
0:22:04have some visibility but you have no
0:22:07guarantees of that or no expectation of
0:22:10of getting that event because it's not
0:22:12an event that you get like you know you
0:22:14would get the event when they finish it
0:22:16you'll get the like did finish to end
0:22:18notification the next time your app was
0:22:20for grounded but but it won't wake me up
0:22:23in the background and tell me it love
0:22:24these events as they happen oh I don't
0:22:25believe so now this I hate this so much
0:22:30why isn't this easy yeah
0:22:33our engineers they're our job is to
0:22:35solve hard problems because like
0:22:37literally like every day I'm gonna be
0:22:40getting questions from people every
0:22:41single day with LTE watches saying why
0:22:45haven't you done this yet why is there
0:22:46no podcast Apple I haven't you'd like
0:22:48and the worst thing is if Apple does it
0:22:50if Apple does their version of podcasts
0:22:53if they bring it to the watch they're
0:22:56gonna use real api's that I can't use
0:22:58and so that's gonna just make me look
0:23:01bad and make my user to complain and I'm
0:23:03gonna lose users for that because
0:23:05they're gonna be like well y-you know
0:23:07what if Apple can do it why can't you do
0:23:09it you know they're already oh also
0:23:11while I have you here talking about
0:23:13audio api's is there any streaming API
0:23:15that we can use on the watch said the
0:23:18only way to do streaming as best I can
0:23:19tell would be to so it would be to do
0:23:24the crazy hack saying I mentioned before
0:23:25I used to do in the first version of
0:23:27audio books back in iPhone OS - yeah
0:23:30where I would download mp3 files
0:23:32sequentially and after I had like the
0:23:35first the first two Meg's of it
0:23:37I would tell to give hand give that
0:23:39those two Meg's to the player and then
0:23:41have it start playing those and then
0:23:44keep backfilling like the you know it's
0:23:47like I'm on a train trying to build the
0:23:49tracks as I go yeah which is not
0:23:53straight it's like is is streaming in so
0:23:56far as most people's definition of
0:23:58streaming is just instant playback
0:24:01technically streaming is a different
0:24:03thing than fast start for most user
0:24:05expectation perspective streaming is
0:24:07fast start so as long as you could do
0:24:12something like that you would from a
0:24:14user's perspective it would base
0:24:15they'd be streaming and I mean you'd
0:24:17hope like if the watch is fast enough
0:24:19and the network connection is fast
0:24:20enough like if the download completes in
0:24:23you know ten seconds
0:24:25it doesn't really matter like the fact
0:24:28that it you have to wait ten seconds
0:24:30like that's not a huge killer like even
0:24:32if you're streaming there's usually like
0:24:33a buffering interval so yeah but yeah
0:24:36there's no there's not a strict
0:24:38streaming interface in the same way that
0:24:39like AV player you can just pass an HD
0:24:41HTTP URL and it takes care of it for you
0:24:45everything has to be file based yeah and
0:24:47we don't have the kind of low-level
0:24:48access that I could like do my own thing
0:24:51like I do in the phone version like cuz
0:24:52I don't use AV player but like I just I
0:24:54used raw audio playback API is that I I
0:24:57download the files and chunks myself I
0:25:00pass them as I have them to you know
0:25:01it's like but I can't do any of that on
0:25:03the watch because there's no core audio
0:25:04right or at least not not for not enough
0:25:06for background and playback yeah you
0:25:08would have the same problem you would
0:25:09have the same problem of using AV AV
0:25:11audio player where you can use AV audio
0:25:14player if you're a workout app but then
0:25:16you don't integrate with the now playing
0:25:18in or the now playing they're not
0:25:21playing app and you also can't control
0:25:23audio volume as a result so if the
0:25:28Bluetooth volume on the headsets is set
0:25:31too low
0:25:31there's no way to raise it up right yes
0:25:34I had that problem dramatically it's
0:25:36like at least if you use the file player
0:25:38API or the cue player API then you can
0:25:41change its correctly ties into it and so
0:25:44then you could say if you like I'm
0:25:45expecting to have a little I can detect
0:25:48what the current system audio is is that
0:25:51I can detect what the system volume is
0:25:53at least so I can tell you if it's if I
0:25:56can I know if it's low like if the
0:25:58system volume is like 0.2 then I can at
0:26:01least know that and pop up a thing that
0:26:03says please adjust your volume in the
0:26:05now playing app or something like that
0:26:07like I can at least tell you I can't I
0:26:09can't do it for you yeah that still
0:26:11sucks like it's it still sucks that like
0:26:13the experience of this will suck but at
0:26:14least it's better than like it just
0:26:16being super low and the user of not
0:26:18really knowing why or having any idea of
0:26:20how to change the yeah and having no no
0:26:23mechanism for I want so badly for these
0:26:27like I would just
0:26:29the phone audio api is on the lawyers
0:26:32like why why don't we have I mean I mean
0:26:35I will say it reminds me in the best
0:26:38possible like both in a lovely and in a
0:26:40terrible way of all the development I
0:26:42did for with audio api's in an iPhone OS
0:26:462 like way back what is that eight years
0:26:48ago like I was dealing with back then I
0:26:52mean I remember it was a massive deal
0:26:54like huge like applause during the
0:26:57keynote when when Steve Jobs was playing
0:27:01and playing of playing us playing a
0:27:03track in Pandora and then he hit the
0:27:06home button and it didn't stop playing
0:27:08yeah that was like rip-roaring applause
0:27:12for something that now seems like
0:27:15completely foolish like and I remember
0:27:16having to build all these crazy like
0:27:19there's still a setting in audio books
0:27:21auto resume playback on launch which at
0:27:26the time I was an important feature
0:27:27right now I get some people being like
0:27:29why would I want to do that like when I
0:27:31open the app why should just like
0:27:33immediately start playing it's like well
0:27:35back in the day you'd get a text message
0:27:37and you'd quit the app and it would stop
0:27:39playing your audio and you know you'd
0:27:41apply to your text message and you'd
0:27:42come back to the app and you have to
0:27:44respring the whole thing because there
0:27:45wasn't multitasking so it would restart
0:27:48the app from scratch and then you'd want
0:27:50to keep playing I'm like that was that
0:27:52was the world in which I had to be I had
0:27:54to build things and like for the phone
0:27:56Fiat the watch feels like the phone did
0:27:58you know eight years ago in the same
0:28:01room in that way yeah except by year
0:28:02three of the phone we had multitasking
0:28:07maybe this June maybe next year you know
0:28:09we just need to wait one recycle or 4.1
0:28:12maybe or 4.2 I don't know
0:28:14so this is show I think we just made a
0:28:17show an intentionally the accidental the
0:28:22accidental technical podcast I hear
0:28:25accidental podcasts are very successful
0:28:27so yeah maybe it's a good it's a good
0:28:29pivot for us Wow well thanks for
0:28:31listening everybody and we'll talk to
0:28:32you next week