Home
last modified time | relevance | path

Searched refs:webrtc1 (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/examples/webrtc/
Dwebrtcbidirectional.c8 static GstElement *pipe1, *webrtc1, *webrtc2; variable
98 g_signal_emit_by_name (webrtc1, "set-remote-description", answer, NULL); in _on_answer_received()
125 g_signal_emit_by_name (webrtc1, "set-local-description", offer, NULL); in _on_offer_received()
142 g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); in _on_negotiation_needed()
167 webrtc1 = gst_bin_get_by_name (GST_BIN (pipe1), "smpte"); in main()
168 g_signal_connect (webrtc1, "on-negotiation-needed", in main()
170 g_signal_connect (webrtc1, "pad-added", G_CALLBACK (_webrtc_pad_added), in main()
175 g_signal_connect (webrtc1, "on-ice-candidate", in main()
178 G_CALLBACK (_on_ice_candidate), webrtc1); in main()
188 gst_object_unref (webrtc1); in main()
Dwebrtctransceiver.c8 static GstElement *pipe1, *webrtc1, *webrtc2; variable
96 g_signal_emit_by_name (webrtc1, "set-remote-description", answer, NULL); in _on_answer_received()
118 g_signal_emit_by_name (webrtc1, "set-local-description", offer, NULL); in _on_offer_received()
135 g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); in _on_negotiation_needed()
186 webrtc1 = gst_bin_get_by_name (GST_BIN (pipe1), "send"); in main()
187 g_signal_connect (webrtc1, "on-negotiation-needed", in main()
189 add_fec_to_offer (webrtc1); in main()
194 g_signal_connect (webrtc1, "on-ice-candidate", in main()
197 G_CALLBACK (_on_ice_candidate), webrtc1); in main()
209 gst_object_unref (webrtc1); in main()
Dwebrtcswap.c8 static GstElement *pipe1, *webrtc1, *webrtc2; variable
116 g_signal_emit_by_name (webrtc1, "set-remote-description", answer, NULL); in _on_answer_received()
138 g_signal_emit_by_name (webrtc1, "set-local-description", offer, NULL); in _on_offer_received()
155 g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); in _on_negotiation_needed()
185 webrtc1 = gst_bin_get_by_name (GST_BIN (pipe1), "smpte"); in main()
186 g_signal_connect (webrtc1, "on-negotiation-needed", in main()
188 g_signal_connect (webrtc1, "pad-added", G_CALLBACK (_webrtc_pad_added), in main()
193 g_signal_connect (webrtc1, "on-ice-candidate", in main()
196 G_CALLBACK (_on_ice_candidate), webrtc1); in main()
206 gst_object_unref (webrtc1); in main()
Dwebrtcrenego.c8 static GstElement *pipe1, *webrtc1, *webrtc2, *extra_src; variable
145 g_signal_emit_by_name (webrtc1, "set-remote-description", answer, NULL); in _on_answer_received()
172 g_signal_emit_by_name (webrtc1, "set-local-description", offer, NULL); in _on_offer_received()
189 g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); in _on_negotiation_needed()
209 gst_element_link (extra_src, webrtc1); in stream_change()
230 gst_element_release_request_pad (webrtc1, peer); in stream_change()
258 webrtc1 = gst_bin_get_by_name (GST_BIN (pipe1), "smpte"); in main()
259 g_signal_connect (webrtc1, "on-negotiation-needed", in main()
261 g_signal_connect (webrtc1, "pad-added", G_CALLBACK (_webrtc_pad_added), in main()
266 g_signal_connect (webrtc1, "on-ice-candidate", in main()
[all …]
Dwebrtc.c8 static GstElement *pipe1, *webrtc1, *webrtc2; variable
96 g_signal_emit_by_name (webrtc1, "set-remote-description", answer, NULL); in _on_answer_received()
118 g_signal_emit_by_name (webrtc1, "set-local-description", offer, NULL); in _on_offer_received()
135 g_signal_emit_by_name (webrtc1, "create-offer", NULL, promise); in _on_negotiation_needed()
159 webrtc1 = gst_bin_get_by_name (GST_BIN (pipe1), "send"); in main()
160 g_signal_connect (webrtc1, "on-negotiation-needed", in main()
165 g_signal_connect (webrtc1, "on-ice-candidate", in main()
168 G_CALLBACK (_on_ice_candidate), webrtc1); in main()
178 gst_object_unref (webrtc1); in main()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwebrtcbin.c41 #define TEST_IS_OFFER_ELEMENT(t, e) ((((t)->offerror == 1 && (e) == (t)->webrtc1) || ((t)->offerror…
42 #define TEST_GET_OFFEROR(t) (TEST_IS_OFFER_ELEMENT(t, t->webrtc1) ? (t)->webrtc1 : t->webrtc2)
43 #define TEST_GET_ANSWERER(t) (TEST_IS_OFFER_ELEMENT(t, t->webrtc1) ? (t)->webrtc2 : t->webrtc1)
71 GstElement *webrtc1; member
314 if (GST_ELEMENT (msg->src) == t->webrtc1 in _bus_watch()
337 g_strconcat ("%s-error", GST_OBJECT_NAME (t->webrtc1), NULL); in _bus_watch()
338 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (t->webrtc1), in _bus_watch()
360 dump_name = g_strconcat ("%s-eos", GST_OBJECT_NAME (t->webrtc1), NULL); in _bus_watch()
361 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (t->webrtc1), in _bus_watch()
403 other = webrtc == t->webrtc1 ? t->webrtc2 : t->webrtc1; in _on_ice_candidate()
[all …]