Just starting to use FMOD in my 3D engine and what a fantastic API!
I’m interested in adding voice communication to my network library that currently runs on the UDP protocol. I’m hoping FMOD can help out.
Is this possible with FMOD?
Is UDP ok to use voice comms over?
Any idea’s how I send the voice sample over dynamically (compression?)?
- MeshMan asked 11 years ago
I’d imagine UDP would be adequate for it, as long as you can deal with the data dropping out. You could also use a layer like [url=http://enet.cubik.org/index.html:1temwnva]enet[/url:1temwnva] to compensate for UDP packet loss. Depending on your bitrate, you might not need to compress it anyway. I haven’t played around with FMod’s recording API, but I imagine you could just do some locking to read/write stream data as you get it and pass it over the network.
- Janus answered 11 years ago
I don’t use ENet as I’ve coded my own network library that encompasses everything ENet offered but more. To top my network library off I want to add voice comms but not sure what methods were commonly used.
I was more worried about if FMOD would allow me to dynamically record/read the sample data whilst im sending to another client.
I’ll get reading the samples and docs to see if it can be done.
- MeshMan answered 11 years ago
Please login first to submit.