for (i = 0; i < sizeof(valid_types) / sizeof(valid_types[0]); i++) {
nRet = webrtc_add_media_source(g_hWebRtcHandle, valid_types[i], &nId);
+ if (nRet == WEBRTC_ERROR_NOT_SUPPORTED) {
+ dlog_print(DLOG_DEBUG, "NativeTCT", "[%s(%d)] camera feature is not supported, skip it", __FUNCTION__, __LINE__);
+ continue;
+ }
PRINT_RESULT(WEBRTC_ERROR_NONE, nRet, "webrtc_add_media_source", WebRtcGetError(nRet));
nRet = webrtc_media_source_set_mute(g_hWebRtcHandle, nId, WEBRTC_MEDIA_TYPE_VIDEO, bSetMute);