Lines Matching refs:webrtc1
41 #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()
564 ret->webrtc1 = gst_element_factory_make ("webrtcbin", NULL); in test_webrtc_new()
566 fail_unless (ret->webrtc1 != NULL && ret->webrtc2 != NULL); in test_webrtc_new()
568 gst_element_set_clock (ret->webrtc1, GST_CLOCK (ret->test_clock)); in test_webrtc_new()
571 gst_element_set_bus (ret->webrtc1, ret->bus1); in test_webrtc_new()
574 g_signal_connect (ret->webrtc1, "deep-element-added", in test_webrtc_new()
578 g_signal_connect (ret->webrtc1, "on-negotiation-needed", in test_webrtc_new()
582 g_signal_connect (ret->webrtc1, "on-ice-candidate", in test_webrtc_new()
586 g_signal_connect (ret->webrtc1, "on-data-channel", in test_webrtc_new()
590 g_signal_connect (ret->webrtc1, "pad-added", G_CALLBACK (_on_pad_added), ret); in test_webrtc_new()
592 g_signal_connect_swapped (ret->webrtc1, "notify::ice-gathering-state", in test_webrtc_new()
596 g_signal_connect_swapped (ret->webrtc1, "notify::ice-connection-state", in test_webrtc_new()
624 g_signal_handlers_disconnect_by_data (t->webrtc1, t); in test_webrtc_free()
668 gst_element_set_state (t->webrtc1, GST_STATE_NULL)); in test_webrtc_free()
674 gst_object_unref (t->webrtc1); in test_webrtc_free()
720 g_object_get (t->webrtc1, "ice-gathering-state", &ice_state1, NULL); in test_webrtc_wait_for_ice_gathering_complete()
725 g_object_get (t->webrtc1, "ice-gathering-state", &ice_state1, NULL); in test_webrtc_wait_for_ice_gathering_complete()
738 g_object_get (t->webrtc1, "ice-connection-state", &ice_state1, NULL);
743 g_object_get (t->webrtc1, "ice-connection-state", &ice_state1, NULL);
772 *flag |= 1 << ((element == t->webrtc1) ? 1 : 2); in on_negotiation_needed_hit()
828 fail_if (gst_element_set_state (t->webrtc1, in test_validate_sdp_full()
1014 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in create_audio_test()
1076 peer_number = t->webrtc1 == element ? 1 : 2; in _check_ice_port_restriction()
1107 g_object_get (t->webrtc1, "ice-agent", &webrtcice, NULL); in GST_START_TEST()
1130 h = gst_harness_new_with_element (t->webrtc1, "sink_1", NULL); in create_audio_video_test()
1256 g_signal_emit_by_name (t->webrtc1, "get-transceivers", &transceivers); in GST_START_TEST()
1291 pad = gst_element_request_pad_simple (t->webrtc1, "sink_0"); in GST_START_TEST()
1324 gst_element_set_state (t->webrtc1, GST_STATE_READY); in GST_START_TEST()
1580 g_signal_emit_by_name (t->webrtc1, "get-stats", NULL, p); in GST_START_TEST()
1598 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, NULL, in GST_START_TEST()
1617 g_signal_emit_by_name (t->webrtc1, "get-transceivers", &transceivers); in GST_START_TEST()
1666 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
1719 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
1726 h = gst_harness_new_with_element (t->webrtc1, "sink_1", NULL); in GST_START_TEST()
1729 g_signal_emit_by_name (t->webrtc1, "get-transceivers", &transceivers); in GST_START_TEST()
1786 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1791 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
1840 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1845 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
1852 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1913 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1918 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
1925 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1994 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
1999 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
2006 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2027 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in have_data_channel_create_data_channel()
2047 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2052 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "prev-label", NULL, in GST_START_TEST()
2059 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2165 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2178 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
2189 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2279 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2284 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
2291 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2348 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2353 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
2358 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2399 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2407 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", s, in GST_START_TEST()
2414 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2431 have_data_channel_transfer_string (t, t->webrtc1, channel1, channel2); in GST_START_TEST()
2542 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
2593 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
2652 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
2711 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
2721 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
2726 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
2809 h = gst_harness_new_with_element (t->webrtc1, "sink_1", NULL); in GST_START_TEST()
2820 g_signal_emit_by_name (t->webrtc1, "get-transceivers", &transceivers); in GST_START_TEST()
3001 h = gst_harness_new_with_element (t->webrtc1, "sink_2", NULL); in GST_START_TEST()
3057 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
3111 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
3116 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
3121 h = gst_harness_new_with_element (t->webrtc1, "sink_1", NULL); in GST_START_TEST()
3177 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in GST_START_TEST()
3181 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
3186 g_signal_emit_by_name (t->webrtc1, "create-data-channel", "label", NULL, in GST_START_TEST()
3191 h = gst_harness_new_with_element (t->webrtc1, "sink_2", NULL); in GST_START_TEST()
3259 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
3276 h = gst_harness_new_with_element (t->webrtc1, "sink_2", NULL); in GST_START_TEST()
3339 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
3356 h = gst_harness_new_with_element (t->webrtc1, "sink_2", NULL); in GST_START_TEST()
3405 pad = gst_element_get_static_pad (t->webrtc1, "sink_0"); in GST_START_TEST()
3563 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
3571 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
3626 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
3663 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
3696 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
3746 gst_util_set_object_arg (G_OBJECT (t->webrtc1), "bundle-policy", in GST_START_TEST()
3754 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()
3766 pad = gst_element_request_pad_simple (t->webrtc1, "sink_0"); in GST_START_TEST()
3772 templ = gst_element_get_pad_template (t->webrtc1, "sink_%u"); in GST_START_TEST()
3777 pad = gst_element_request_pad (t->webrtc1, templ, "sink_0", caps); in GST_START_TEST()
3783 pad = gst_element_request_pad (t->webrtc1, templ, "sink_0", caps); in GST_START_TEST()
3788 pad = gst_element_request_pad_simple (t->webrtc1, "sink_0"); in GST_START_TEST()
3853 h = gst_harness_new_with_element (t->webrtc1, "sink_1", NULL); in GST_START_TEST()
3859 g_signal_emit_by_name (t->webrtc1, "create-offer", NULL, promise); in GST_START_TEST()
3873 h = gst_harness_new_with_element (t->webrtc1, "sink_%u", NULL); in GST_START_TEST()
3903 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in GST_START_TEST()
3918 g_signal_emit_by_name (t->webrtc1, "create-offer", NULL, promise); in GST_START_TEST()
4017 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in GST_START_TEST()
4120 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in GST_START_TEST()
4121 pad = gst_element_get_static_pad (t->webrtc1, "sink_0"); in GST_START_TEST()
4133 g_signal_emit_by_name (t->webrtc1, "create-offer", NULL, promise); in GST_START_TEST()
4236 h = gst_harness_new_with_element (t->webrtc1, "sink_0", NULL); in GST_START_TEST()
4242 fail_if (gst_element_set_state (t->webrtc1, in GST_START_TEST()
4350 g_signal_emit_by_name (t->webrtc1, "add-transceiver", direction, caps, in GST_START_TEST()