Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone 6S audio issue while streaming

I developed an iOS application with live video streaming. I fixed the audio sample rate to 8k. Audio works fine up to iPhone6 devices, but when i stream video in 6s and 6s plus audio part is not working. How can i fixed this issue? I tried in different blogs and found that in iPhone 6s sample rate is locked in 48k. How can i manually down sample? Because the library that i used for live streaming works only in 8k. Please help me on these

like image 480
Jio Avatar asked Oct 19 '22 00:10

Jio


1 Answers

You can do your own sample rate conversion by low-pass filtering the data to a frequency below 4 kHz, and then taking every 6th sample (to convert 48 ksps samples to 8 ksps samples).

like image 107
hotpaw2 Avatar answered Nov 14 '22 23:11

hotpaw2