From: Sangchul Lee Date: Tue, 16 Jan 2024 00:32:54 +0000 (+0900) Subject: webrtc_transceiver: Add more information about H264 X-Git-Tag: accepted/tizen/unified/20240704.173841^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50bfdca045b5bf88792f224a432fdd367f1d3c48;p=platform%2Fcore%2Fapi%2Fwebrtc.git webrtc_transceiver: Add more information about H264 ST signaling server requires this for NEST doorbell. So it is added. Plus, ortc of mediasoup requires these fields as well. [Version] 1.1.7 [Issue Type] Improvement Change-Id: I9a40779f5fb70f534b62a7dd37f2261ea9a76b17 Signed-off-by: Sangchul Lee --- diff --git a/packaging/capi-media-webrtc.spec b/packaging/capi-media-webrtc.spec index d190761f..11c691cf 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: 1.1.6 +Version: 1.1.7 Release: 0 Group: Multimedia/API License: Apache-2.0 diff --git a/src/webrtc_transceiver.c b/src/webrtc_transceiver.c index 31f70875..495d3365 100644 --- a/src/webrtc_transceiver.c +++ b/src/webrtc_transceiver.c @@ -200,6 +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); + 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); return caps; }