现在,第四代 iPhone 具备前置视频摄像头已经不容置疑。iPhone 4 SDK Beta 2 已经毫不掩饰地将视频会议功能的代码写入其中(下图):
除此之外, iPhone 4 SDK Beta 2 中关于视频会议功能还有一些有趣的代码。在首次使用视频会议功能之前,用户可能需要先注册 iPhone :
ACCOUNT_NOT_REGISTERED_MESSAGE = "This device has not been registered for video conferencing.";
当 Wi-Fi 连接中断时,视频会议功能会提示“连接错误”。但是没有代码显示在3G 网络下会出现连接错误,这或许表明使用 3G 网络可以持续放心地进行视频会议了:
IMAVCHAT_COULD_NOT_CONNECT_NO_REMOTE_WIFI = "The video call could not connect because a remote Wi-Fi connection could not be established.";
IMAVCHAT_DISCONNECTED_NO_LOCAL_WIFI = "The video call disconnected because the local Wi-Fi connection was lost.";
最有趣还是下面这段,苹果似乎在 iPhone OS 4.0 的 Game Center(游戏中心)中集成了视频会议功能,这样玩家们可以协作游戏或对垒游戏中通过视频会议功能进行聊天、交流 —— 苹果的社交网络游戏系统。
IMAVCHAT_ERROR_NO_SUCH_PLAYER_ID = "No Such Player ID";
IMAVCHAT_ERROR_NO_SUCH_ACHIEVEMENT = "No Such Achievement";
IMAVCHAT_ERROR_UNRECOGNIZED_GAME_DESCRIPTION_HEADERS = "Unrecognised Game Descriptor Headers";
IMAVCHAT_ERROR_NO_SUCH_GAME = "No Such Game";
[ 摘译自:
MacRumors ]