ios - AVAudioSession Changing Category Freezing AVCapture Screen -


we want continue playing music other apps while capture video our ios app. our code modeled solution question linked below, setting audio session when go , out of our capture screen.

how make avcapturesession , avplayer respect avaudiosessioncategoryambient?

the issue app freezes lot when going 1 of our views avplayer -> capture , refuses capture, occurs on iphone 5s. confirmed works correctly on both 4s , 6s.

is there else missing might need added working? investigating possibility of avplayer sticking around long , being why our app's capture screen stops functioning correctly when switching it.

the primary issue here making sure paused running video before switching audio session, changing session, start video capture. order wasn't guaranteed before in our flow.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -