webrtc_source: Set 'do-timestamp' to TRUE to appsrc in case of media packet source 95/253895/2
authorSangchul Lee <sc11.lee@samsung.com>
Fri, 19 Feb 2021 05:59:46 +0000 (14:59 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Fri, 19 Feb 2021 06:34:53 +0000 (15:34 +0900)
Setting 'emit-signals' to TRUE is also removed because it is default value.

[Version] 0.1.112
[Issue Type] Improvement

Change-Id: I390449180fd7ad91cde380d078a1a28b61ebc2a4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/capi-media-webrtc.spec
src/webrtc_source.c

index 33428663abbb4c695be1de4408ab8dad442890f7..61f0b87a25a888a81ed70621ed62ded7b8d4b175 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.1.111
+Version:    0.1.112
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index c13d0b6e888633072698237724b48f22dbaa8956..ddac1fa7f455663e2e07e58d70d7f8833330a1b2 100644 (file)
@@ -871,7 +871,7 @@ static int __build_mediapacketsrc(webrtc_s *webrtc, webrtc_gst_slot_s *source)
                return WEBRTC_ERROR_INVALID_OPERATION;
        }
 
-       g_object_set(G_OBJECT(appsrc), "emit-signals", TRUE, "is-live", TRUE, "format", GST_FORMAT_TIME, NULL);
+       g_object_set(G_OBJECT(appsrc), "is-live", TRUE, "do-timestamp", TRUE, "format", GST_FORMAT_TIME, NULL);
 
        _connect_and_append_signal(&source->signals, G_OBJECT(appsrc), "need-data", G_CALLBACK(_appsrc_need_data_cb), source);
        _connect_and_append_signal(&source->signals, G_OBJECT(appsrc), "enough-data", G_CALLBACK(_appsrc_enough_data_cb), source);