开发者

iPhone peer-to-peer voice chat

开发者 https://www.devze.com 2023-02-03 07:28 出处:网络
I see that Game Kit allows you to develop games with voice chat. I want to build a more general, peer-to-peer voice chat application, that does not have to live in the Game Center. So a couple questio

I see that Game Kit allows you to develop games with voice chat. I want to build a more general, peer-to-peer voice chat application, that does not have to live in the Game Center. So a couple questions: 1. What peer to peer system/technologies could be used for this? 2. If I wanted to allow voice chat with a Flash client (i.e. iPhone app <--> Server <---> Flash client on PC) would options for 1 work for this?

I have some experience with RTFMP for Flash to Flash client chat, and no iPhone dev experience, so just want to test out some ideas.

Maybe one idea: build using the Ribbit Platform - they have both Objective-C and开发者_开发技巧 Flash SDKs, but this looks more like traditional\SIP calling.

Anyway, would appreciate anything that points me in the right direction. Thanks.


Now that flash has access to raw Microphone data, you could roll your own client and server; yet, since, currently, it doesn't have UDP sockets in AIR for mobile, you would be forced into considering audio quality vs lagg with even tighter restrictions then usual.

You can now roll your own native extension to make this work; yet, I am assuming you want something that only requires coding in AS3.

Therefore, considering your restrictions, the only real bet would be to use Flash's built-in communications capabilities (e.g. RTMP).

With the above being said, there are opensource alternatives to the array of Adobe's own flash communication servers:

the red5 server, and rtmpd.

IMHO Ribbit's services are kind of pointless.

0

精彩评论

暂无评论...
验证码 换一张
取 消