The source must be constructed even if it is called right after
calling webrtc_start() which only changes the pend state inside
of it.
[Version] 1.1.30
[Issue Type] Bug fix
Change-Id: I612b07594ac6d4eb94dfddbe484e94204f31156e
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: capi-media-webrtc
Summary: A WebRTC library in Tizen Native API
-Version: 1.1.29
+Version: 1.1.30
Release: 0
Group: Multimedia/API
License: Apache-2.0
locker = g_mutex_locker_new(&_webrtc->mutex);
- if (_webrtc->state == WEBRTC_STATE_IDLE) {
+ if (_webrtc->state == WEBRTC_STATE_IDLE && _webrtc->pend_state == WEBRTC_STATE_IDLE) {
LOG_DEBUG("webrtc_start() will take charge of starting media sources");
return WEBRTC_ERROR_NONE;
}