swift - Is it likely that Snapchat & Whatsapp use AVFoundation on iOS? -


and if yes, use class below give them jpeg image in order make compression easier?

class func jpegphotodatarepresentation(forjpegsamplebuffer jpegsamplebuffer:  cmsamplebuffer,  previewphotosamplebuffer: cmsamplebuffer?) -> data? 

on question alone, "is snapchat & whatsapp use avfoundation on ios?"; answer yes. according superpowered audio framework have found there no way play audio without using avfoundation on ios. haven't seen camera app doesn't use avfoundation in form. far photo compression goes, guess multi-billion dollar apps such snapchat , kik make low level compression algorithm in c or c++ fit exact compression needs rather use avfoundation , swift/objective c. other reason have own compression algorithm because want app work in android or windows work in ios. creating own compression algorithm have standardized app looks , works same in every mobile os.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -