webrtc_transceiver: Add more information about H264 07/314007/1 accepted/tizen/unified/20240704.173841 accepted/tizen/unified/dev/20240708.001451 accepted/tizen/unified/x/20240705.012410
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 16 Jan 2024 00:32:54 +0000 (09:32 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Thu, 4 Jul 2024 02:56:06 +0000 (11:56 +0900)
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 <sc11.lee@samsung.com>
packaging/capi-media-webrtc.spec
src/webrtc_transceiver.c

index d190761fd00f122023fc5d207349a8a0f216d2b9..11c691cfff86bbffc23fe8f12eab2cd3c037d005 100644 (file)
@@ -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
index 31f708758b18a1dfd83c20da07dde261403f31d7..495d3365eab3c0ec8d680c3d4dc8117b2c63a595 100644 (file)
@@ -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;
 }