iOS Deprecated Audio Format - AMR (Adaptive-Multi-Rate) - ios

So this is something I've been trying to get my head around when I was trying to load one of my older apps.
There's a lot of threads where people are asking for the supported audio formats in iOS. And in most of them someone comments that support for AMR (Adaptive-Multi-Rate) was dropped in iOS 4.3. How do they know this?
Supported Audio file formats in iPhone
But I cannot find ANY api changes or anything about this in Apples official documentations.
i.e the diffs between 4.2 and 4.3:
https://developer.apple.com/library/ios/releasenotes/General/iOS43APIDiffs/
How can I get som actual documents saying that this actually happened?
Any help here would be much appreciated!

The closest I ever found to a document or official statement were two responses (login required) by an Apple Employee on the old Apple Developer Forums, both saying:
As of 4.3 iOS does not support encoding or decoding AMR.
If you want AMR you'll have to put in your own decoder.

Related

Convert a video into an IOS Live Photo format without an Apple device

I'm currently making live/animated wallpapers for Android phones, which is pretty easy with GIF/Mp4 files. But I would also like to make the live wallpapers compatible natively with ios/iPhones. I've seen many tutorials on how to convert a video to a Live photo but they all involve some kind of app you need to install on your IPhone. Issue is, I don't own an iPhone or any iOS device to do that and apparently iOS emulators are not a thing, so my question is :
Is it possible to convert a (mp4) video to an iOs Live photo through a 3rd party ? If so, how would you do it ?
I'm pretty inexperienced with the iOS environnement so thank you for your help !
Well, a live photo is a container that holds both a .jpeg and a H.264-encoded .mov file. More details here.
Do you have an Apple computer to do so, or do you want to create it independently from any apple hardware?
For the first case, there are a bunch of (demo) applications on github you could take a look into.
For the second case, I'm not sure if anything exists.

Azure Media Services - Captions on iOS - Native not AMP

I'm trying to get captioning working on iOS and Android. Android seems relatively straight forward but I can't seem to figure out how (nor do the docs really tell you) to setup WebVTT captions like you can easily do with Windows 10 UWP and AMP.
On Android I am just doing videoView.AddSubtitleSource and it appears to work. On iOS I'm at a loss. From what I can tell it appears that it's possible to load captions not embedded in the file, but I can't find any example of how it works with MediaSelectionOptions and specifying a stream or similar.
I've done this in my own custom renderer in Xamarin Forms but I'm fine converting it from swift or Objective C if needed.
Anyone get this working or know how?
If your interest is iOS native player, check this tutorial video from Apple: https://developer.apple.com/videos/play/wwdc2012/512/ (about 20 min into it)
If your interest is Safari based player, check the examples here: https://developer.apple.com/streaming/examples/ (3 of the examples include webVTT)
The issue with iOS and Safari not playing back VTT side car files appears to be fixed now in the latest iOS release. Not sure exactly when it was fixed, but I'm on 14.7.1 and the following sample is working now
https://ampdemo.azureedge.net/azuremediaplayer.html?url=%2F%2Famssamples.streaming.mediaservices.windows.net%2Fbc57e088-27ec-44e0-ac20-a85ccbcd50da%2FTearsOfSteel.ism%2Fmanifest&subtitles=English,en,%2F%2Famssamples.streaming.mediaservices.windows.net%2Fbc57e088-27ec-44e0-ac20-a85ccbcd50da%2FTOS-en.vtt;Spanish,es,%2F%2Famssamples.streaming.mediaservices.windows.net%2Fbc57e088-27ec-44e0-ac20-a85ccbcd50da%2FTOS-es.vtt;French,fr,%2F%2Famssamples.streaming.mediaservices.windows.net%2Fbc57e088-27ec-44e0-ac20-a85ccbcd50da%2FTOS-fr.vtt;Italian,it,%2F%2Famssamples.streaming.mediaservices.windows.net%2Fbc57e088-27ec-44e0-ac20-a85ccbcd50da%2FTOS-it.vtt

How to embed a live stream using the Youtube API on tvOS

I need the ability to embed a Youtube live stream into a tvOS app. Due to the lack of an UIWebView, this was not possible with all previous tvOS. I hoped, that this feature will be included in the current tvOS 10 or Swift 3 release but it seems to me, that it is still missing.
Nevertheless, does anybody know a trick / something that I missed out during my journey through the API documentation? I'm not allowed to use Youtube parsers like pod 'youtube-parser', etc. I have to be in full compliance with the terms and conditions of Youtube.
My solution so far is not good enough but it works fine
First, I find youtube playlist by using youtube-dl app
https://rg3.github.io/youtube-dl/download.html
So, I can find link https://manifest.googlevideo.com/api/manifest/hls_playlist/*****.m3u8 in this format. Then, I just embedded this link to TVOS application.

Programatically upload a video to Youtube

I am currently trying to programmatically upload a video from an iOS device to Youtube, but all of the information I am finding is incredibly dated.
I have explored the Google API Cocoapod, but the documentation around using it is rather weak, so I could not find a good starting point.
Other answers on here lead off to four year old projects that are now broken.
Hoping someone can point me to a current example, tutorial or other documentation on how to upload through iOS.
I have never done this but I m sure following link will help you.
1.Upload Videos to YouTube with iPhone custom App
2.Uploading Video with iPhone
3.YouTube Data API.
4. Upload Video on you tube.

How to determine the exact iOS version using Google Analytics

While reading a tutorial on Google Analytics for iOS I wanted to know which version of iOS I was running.
I've googled for phrases like "ios version google analytics" but couldn't find anything useful.
Basically I want to know the number of users running my app on any iOS version, e.g. iOS 6, iOS 7 etc.
I've also checked the Google Analytics documentation, but couldn't find a proper method. The device info on Google Analytics dashboard just shows "iPhone" but does not mention the iOS version.
Is there a way to get the exact iOS version via Google Analytics?
I created you a custom report so you can see how the information is saved. Os Custom Report
I think what you are after is Operating system and Operating system version.
There is a method, go to
Audience > Technology > Browser & OS > The browser version matches the firmware*.
Might not match exactly, but in my experience its more than accurate enough and I am 95% it does match always.
Hope that helps Tushar
So I was looking for a solution here as well. I came across this article by Phillip Studiniski that shows you how to measure the iPhone screens by screen resolution.
https://analytical42.com/2017/detect-and-track-iphone-models-in-google-analytics/
I attempted to go this route. The problem I ran into was that I was just getting a raw output of the screen resolution in GTM, it would look something like this.
{"width":375,"height":667,"ratio":2.0000000454608653}
No problem I thought. I moved this into a RegEx table. Click here to see a sample RegEx for this Once I did this, I was able to properly identify the iPhone version with a variable and then send it to Google Analytics through Google Tag Manager variable.
I then had to update the iPhone models a bit since it has been a while since the article was written. (https://iosref.com/res) This includes the models from 11 to 13.
BOOM! iPhone version now being sent to GA. Hope this helps everyone.

Resources