iphone: realtime packet-based compression of remote io data
iphone: realtime packet-based compression of remote io data
- Subject: iphone: realtime packet-based compression of remote io data
- From: Joel Reymont <email@hidden>
- Date: Thu, 12 Feb 2009 11:51:22 +0000
I'm grabbing microphone data on the iPhone using Remote I/O.
I'm not sure if the microphone is 16-bits or 24-bits but I'm using the
default LPCM at 44100 samples, 32-bits and 2 channels. With a buffer
duration of 5ms this means I'm transmitting at 200kbps.
My app is strictly for WiFi since it needs either Bonjour or LAN
broadcast. Still, I sense that it may be worth my while to compress
things where I can.
The kicker is that there can be many broadcasting iPhones in the
vicinity. By design, everyone should get everyone's transmissions and
the UDP packets from these will be intermixed.
What is the best technique to lower bandwidth that applies to my usage
scenario?
My understanding is that I could establish a compression "context" if
I was streaming and all would be well. I'm shooting out quick bursts
of data, though, and Remote I/O only supports LPCM.
Thanks, Joel
---
http://tinyco.de
--- Mac & iPhone
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden