Default value of the parameter can be null. webrtc_get_stun_server() also
can return the value of null. So, it is fixed as a bug.
[Version] 0.3.126
[Issue Type] Bug fix
Change-Id: I6615690c37b5dc07fed444b909a2ffcd31f31806
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: capi-media-webrtc
Summary: A WebRTC library in Tizen Native API
-Version: 0.3.125
+Version: 0.3.126
Release: 0
Group: Multimedia/API
License: Apache-2.0
webrtc_s *_webrtc = (webrtc_s *)webrtc;
RET_VAL_IF(_webrtc == NULL, WEBRTC_ERROR_INVALID_PARAMETER, "webrtc is NULL");
- RET_VAL_IF(stun_server == NULL, WEBRTC_ERROR_INVALID_PARAMETER, "stun_server is NULL");
locker = g_mutex_locker_new(&_webrtc->mutex);