IPhone 6S streaming issue

I developed an iOS application with live streaming. I set the audio sampling rate to 8k. The sound works fine to iPhone6 ​​devices, but when I transfer video in 6 s and 6 s plus the audio part, it does not work. How can I fix this problem? I tried on various blogs and found that the polling rate of the iPhone 6s is locked at 48k. How can I manually test a sample? Since the library that I used for live broadcasting only works in 8k. Please help me in these

+5
source share
1 answer

You can perform your own conversion of the sampling frequency using a low-pass filter, filtering data to a frequency below 4 kHz and then taking every sixth sample (to convert 48 kbit / s samples to 8 kbit / s).

+3
source

Source: https://habr.com/ru/post/1234167/


All Articles