int webrtc_create(webrtc_h *webrtc)
{
+#ifdef TIZEN_FEATURE_RES_MGR
int ret = WEBRTC_ERROR_NONE;
+#endif
webrtc_s *_webrtc = NULL;
RET_ERR_IF_NETWORK_FEATURES_ARE_NOT_SUPPORTED();
g_mutex_unlock(&_webrtc->mutex);
- return ret;
+ return WEBRTC_ERROR_NONE;
}
int webrtc_destroy(webrtc_h webrtc)
g_mutex_unlock(&_webrtc->mutex);
- return ret;
+ return WEBRTC_ERROR_NONE;
}
int webrtc_stop(webrtc_h webrtc)
int webrtc_destroy_data_channel(webrtc_data_channel_h channel)
{
- int ret = WEBRTC_ERROR_NONE;
-
RET_VAL_IF(channel == NULL, WEBRTC_ERROR_INVALID_PARAMETER, "channel is NULL");
- ret = _destroy_data_channel((webrtc_data_channel_s *)channel);
-
- return ret;
+ return _destroy_data_channel((webrtc_data_channel_s *)channel);
}
int webrtc_set_data_channel_cb(webrtc_h webrtc, webrtc_data_channel_cb callback, void *user_data)
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -pie")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -pie -Wall -Werror")
aux_source_directory(. sources)