webrtc_private: Remove unuseful generating dot files 30/262630/1 accepted/tizen/unified/20210819.123240 submit/tizen/20210818.024155
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 17 Aug 2021 03:53:04 +0000 (12:53 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 17 Aug 2021 04:08:10 +0000 (13:08 +0900)
These are not related to the pipeline changes.
Plus some invoked in the main thread are cause of deadlock
when the 'generate dot' is enabled in ini file.

[Version] 0.2.78
[Issue Type] Cleanup & Bug fix

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

index 2673bd34e19ae885f5bafdcb0bb400bc1f8dd310..3c0f86a729d7f206e54597356a839c23dd3883bb 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-media-webrtc
 Summary:    A WebRTC library in Tizen Native API
-Version:    0.2.77
+Version:    0.2.78
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
index 84ffc59101b59aa3b75e0c2faec5212b633a3706..33095653230491e0fdf52b65b3fa54a6355e87f9 100644 (file)
@@ -261,8 +261,6 @@ static void __invoke_peer_connection_state_change_cb(webrtc_s *webrtc, GstWebRTC
                ((webrtc_peer_connection_state_change_cb)(cb->callback))((webrtc_h)webrtc, __peer_connection_state_info[state].state, cb->user_data);
                LOG_DEBUG("<<< end of the callback");
        }
-
-       GENERATE_DOT(webrtc, "PEER_CONNECTION_STATE_%s", __peer_connection_state_info[state].str);
 }
 
 static void __invoke_signaling_state_change_cb(webrtc_s *webrtc, GstWebRTCPeerConnectionState state)
@@ -278,8 +276,6 @@ static void __invoke_signaling_state_change_cb(webrtc_s *webrtc, GstWebRTCPeerCo
                ((webrtc_signaling_state_change_cb)(cb->callback))((webrtc_h)webrtc, __signaling_state_info[state].state, cb->user_data);
                LOG_DEBUG("<<< end of the callback");
        }
-
-       GENERATE_DOT(webrtc, "SIGNALING_STATE_%s", __signaling_state_info[state].str);
 }
 
 static void __invoke_ice_gathering_state_change_cb(webrtc_s *webrtc, GstWebRTCICEGatheringState state)
@@ -295,8 +291,6 @@ static void __invoke_ice_gathering_state_change_cb(webrtc_s *webrtc, GstWebRTCIC
                ((webrtc_ice_gathering_state_change_cb)(cb->callback))((webrtc_h)webrtc, __ice_gathering_state_info[state].state, cb->user_data);
                LOG_DEBUG("<<< end of the callback");
        }
-
-       GENERATE_DOT(webrtc, "ICE_GATHERING_STATE_%s", __ice_gathering_state_info[state].str);
 }
 
 static void __invoke_ice_connection_state_change_cb(webrtc_s *webrtc, GstWebRTCICEConnectionState state)
@@ -312,8 +306,6 @@ static void __invoke_ice_connection_state_change_cb(webrtc_s *webrtc, GstWebRTCI
                ((webrtc_ice_connection_state_change_cb)(cb->callback))((webrtc_h)webrtc, __ice_connection_state_info[state].state, cb->user_data);
                LOG_DEBUG("<<< end of the callback");
        }
-
-       GENERATE_DOT(webrtc, "ICE_CONNECTION_STATE_%s", __ice_connection_state_info[state].str);
 }
 
 static gboolean __bus_watch_cb(GstBus *bus, GstMessage *message, gpointer user_data)