This new condition is checked only when the state is not IDLE.
[Version] 0.3.205
[Issue Type] Improvement(check condition)
Change-Id: I25bd78a4f20615c36735c9c44b3880a1b762e895
Name: capi-media-webrtc
Summary: A WebRTC library in Tizen Native API
-Version: 0.3.204
+Version: 0.3.205
Release: 0
Group: Multimedia/API
License: Apache-2.0
source->video_info.origin_width = width;
source->video_info.origin_height = height;
} else {
+ if (_is_encoded_format_supported(source->type, &webrtc->ini)) {
+ LOG_ERROR("this API does not support source with encoded format");
+ return WEBRTC_ERROR_INVALID_OPERATION;
+ }
RET_VAL_IF(width > source->video_info.origin_width, WEBRTC_ERROR_INVALID_OPERATION,
"it doesn't support upscale. invalid width. origin [%d] requested [%d]", source->video_info.origin_width, width);