Lines Matching refs:webrtc2
41 …ferror == 1 && (e) == (t)->webrtc1) || ((t)->offerror == 2 && (e) == (t)->webrtc2)) ? TRUE : FALSE)
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)
72 GstElement *webrtc2; member
315 || GST_ELEMENT (msg->src) == t->webrtc2) { in _bus_watch()
342 g_strconcat ("%s-error", GST_OBJECT_NAME (t->webrtc2), NULL); in _bus_watch()
343 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (t->webrtc2), in _bus_watch()
364 dump_name = g_strconcat ("%s-eos", GST_OBJECT_NAME (t->webrtc2), NULL); in _bus_watch()
365 GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (t->webrtc2), in _bus_watch()
403 other = webrtc == t->webrtc1 ? t->webrtc2 : t->webrtc1; in _on_ice_candidate()
565 ret->webrtc2 = gst_element_factory_make ("webrtcbin", NULL); in test_webrtc_new()
566 fail_unless (ret->webrtc1 != NULL && ret->webrtc2 != NULL); in test_webrtc_new()
569 gst_element_set_clock (ret->webrtc2, GST_CLOCK (ret->test_clock)); in test_webrtc_new()
572 gst_element_set_bus (ret->webrtc2, ret->bus2); in test_webrtc_new()
576 g_signal_connect (ret->webrtc2, "deep-element-added", in test_webrtc_new()
580 g_signal_connect (ret->webrtc2, "on-negotiation-needed", in test_webrtc_new()
584 g_signal_connect (ret->webrtc2, "on-ice-candidate", in test_webrtc_new()
588 g_signal_connect (ret->webrtc2, "on-data-channel", in test_webrtc_new()
591 g_signal_connect (ret->webrtc2, "pad-added", G_CALLBACK (_on_pad_added), ret); in test_webrtc_new()
594 g_signal_connect_swapped (ret->webrtc2, "notify::ice-gathering-state", in test_webrtc_new()
598 g_signal_connect_swapped (ret->webrtc2, "notify::ice-connection-state", in test_webrtc_new()
625 g_signal_handlers_disconnect_by_data (t->webrtc2, t); in test_webrtc_free()
670 gst_element_set_state (t->webrtc2, GST_STATE_NULL)); in test_webrtc_free()
675 gst_object_unref (t->webrtc2); in test_webrtc_free()
721 g_object_get (t->webrtc2, "ice-gathering-state", &ice_state2, NULL); in test_webrtc_wait_for_ice_gathering_complete()
726 g_object_get (t->webrtc2, "ice-gathering-state", &ice_state2, NULL); in test_webrtc_wait_for_ice_gathering_complete()
739 g_object_get (t->webrtc2, "ice-connection-state", &ice_state2, NULL);
744 g_object_get (t->webrtc2, "ice-connection-state", &ice_state2, NULL);
830 fail_if (gst_element_set_state (t->webrtc2, in test_validate_sdp_full()
1111 g_object_get (t->webrtc2, "ice-agent", &webrtcice, NULL); in GST_START_TEST()
1194 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
1582 g_signal_emit_by_name (t->webrtc2, "get-stats", NULL, p); in GST_START_TEST()
1673 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
1739 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
1788 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
1842 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
1854 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
1915 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
1927 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
1996 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2008 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2049 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2061 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2167 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2191 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2281 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2293 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2350 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2360 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2401 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2410 g_signal_emit_by_name (t->webrtc2, "create-data-channel", "label", s, in GST_START_TEST()
2416 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2549 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
2600 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
2659 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", "none"); in GST_START_TEST()
2718 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
2723 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
2766 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
2813 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
2995 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3051 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3113 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
3183 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
3266 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
3270 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3346 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
3350 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3398 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3565 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
3579 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3748 gst_util_set_object_arg (G_OBJECT (t->webrtc2), "bundle-policy", in GST_START_TEST()
3759 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
3908 templ = gst_element_get_pad_template (t->webrtc2, "sink_%u"); in GST_START_TEST()
3911 pad = gst_element_request_pad (t->webrtc2, templ, "sink_0", caps); in GST_START_TEST()
3928 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
3934 g_signal_emit_by_name (t->webrtc2, "set-remote-description", desc, promise); in GST_START_TEST()
4022 templ = gst_element_get_pad_template (t->webrtc2, "sink_%u"); in GST_START_TEST()
4025 pad = gst_element_request_pad (t->webrtc2, templ, NULL, caps); in GST_START_TEST()
4028 h = gst_harness_new_with_element (t->webrtc2, GST_PAD_NAME (pad), NULL); in GST_START_TEST()
4230 rtpbin2 = gst_bin_get_by_name (GST_BIN (t->webrtc2), "rtpbin"); in GST_START_TEST()
4244 fail_if (gst_element_set_state (t->webrtc2, in GST_START_TEST()
4256 fail_unless (sink_harness->element == t->webrtc2); in GST_START_TEST()
4357 h = gst_harness_new_with_element (t->webrtc2, "sink_0", NULL); in GST_START_TEST()
4362 g_signal_connect (t->webrtc2, "on-new-transceiver", in GST_START_TEST()