自从我使用环聊API陷入错误以来已经过了一周。我正在尝试使用https://developers.google.com/+/hangouts/api/gapi.hangout.av.effects在用户点击按钮时创建叠加层。我遇到的问题是,当用户第一次加载应用时,有时会覆盖工作,如果用户重新加载页面叠加层在正确加载叠加层之前似乎无法正常工作。
检查Google Chrome控制台显示:
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
Unknown RPC service: hangout_effect_load_resource cb=gapi.loaded_0:98
everything ready mediaStarter.js:396
此外,https://developers.google.com/+/hangouts/sample-apps
Media App sample的例子发生了同样的事情吗?
我的环聊应用:https://plus.google.com/hangouts/_?gid=228838128711