β

Android 4.0 SDK: Crash during stream subscription

Intel® Developer Zone 7 阅读

Hi ,

There is a crash when subscribed to a stream sent from IOS. The crash is @ com.intel.webrtc.conference SubscriptionCapabilities.class.

Crash is happening at

        JSONObject parametersObj = JsonUtils.getObj(videoObj, "parameters");
        JSONObject reslutionObj = JsonUtils.getObj(parametersObj, "resolution");

as there is no "parameters" key defined in videoObj for the stream received from IOS application. Rather "resolution" defined inside "optional" key. I think there is a need for try/catch block.

Please confirm this.

作者:Intel® Developer Zone
原文地址:Android 4.0 SDK: Crash during stream subscription, 感谢原作者分享。

发表评论