From: Sangchul Lee Date: Wed, 2 Oct 2024 07:10:30 +0000 (+0900) Subject: webrtc_transceiver: Remove restriction of allowing to apply H264 info. only for DA X-Git-Tag: accepted/tizen/8.0/unified/20241007.172612^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0526a79c2c73177afb7b6b06673525ef4c6746e;p=platform%2Fcore%2Fapi%2Fwebrtc.git webrtc_transceiver: Remove restriction of allowing to apply H264 info. only for DA [Version] 0.4.63 [Issue Type] Improvement Change-Id: I823719dbd4c509e1fd509720c47ba02406b28f13 Signed-off-by: Sangchul Lee --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c11da64..26710090 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,6 @@ IF(NOT TIZEN_PROFILE_TV) ELSE() ADD_DEFINITIONS("-DTIZEN_TV") ENDIF() -IF(TIZEN_PROFILE_DA) - ADD_DEFINITIONS("-DTIZEN_DA") -ENDIF() IF(TIZEN_FEATURE_UI) ADD_DEFINITIONS("-DTIZEN_FEATURE_UI") ENDIF() diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index 9f7fc0c3..555e1f8a 100644 --- a/packaging/capi-media-webrtc.spec +++ b/packaging/capi-media-webrtc.spec @@ -1,6 +1,6 @@ Name: capi-media-webrtc Summary: A WebRTC library in Tizen Native API -Version: 0.4.62 +Version: 0.4.63 Release: 0 Group: Multimedia/API License: Apache-2.0 @@ -116,11 +116,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %else -DTIZEN_PROFILE_TV=off \ %endif -%if "%{_with_da_profile}" == "1" --DTIZEN_PROFILE_DA=on \ -%else --DTIZEN_PROFILE_DA=off \ -%endif %if "%{test_espp_render}" == "1" -DTIZEN_FEATURE_ESPP=on \ %else diff --git a/src/webrtc_transceiver.c b/src/webrtc_transceiver.c index 11b1c936..504aa313 100644 --- a/src/webrtc_transceiver.c +++ b/src/webrtc_transceiver.c @@ -200,14 +200,12 @@ static GstCaps *__make_transceiver_caps_with_pt(rtp_payload_info_s *payload_info gst_caps_set_simple(caps, "encoding-params", G_TYPE_STRING, "2", NULL); -#ifdef TIZEN_DA else if (payload_info->codec == WEBRTC_TRANSCEIVER_CODEC_H264) gst_caps_set_simple(caps, "level-asymmetry-allowed", G_TYPE_STRING, "1", "packetization-mode", G_TYPE_STRING, "1", "profile-level-id", G_TYPE_STRING, "42e01f", NULL); -#endif return caps; }