Lines Matching refs:sctp_transport
2137 if (!webrtc->priv->sctp_transport) in gst_webrtc_bin_update_sctp_priority()
2161 webrtc_sctp_transport_set_priority (webrtc->priv->sctp_transport, in gst_webrtc_bin_update_sctp_priority()
2363 webrtc_data_channel_link_to_sctp (channel, webrtc->priv->sctp_transport); in _on_sctpdec_pad_added()
2398 webrtc_data_channel_link_to_sctp (channel, webrtc->priv->sctp_transport); in _on_sctp_state_notify()
2417 WebRTCSCTPTransport *sctp_transport; in _sctp_check_dtls_state_task() local
2431 sctp_transport = webrtc->priv->sctp_transport; in _sctp_check_dtls_state_task()
2434 if (!gst_element_is_locked_state (sctp_transport->sctpdec)) in _sctp_check_dtls_state_task()
2438 gst_element_set_locked_state (sctp_transport->sctpdec, FALSE); in _sctp_check_dtls_state_task()
2439 gst_element_set_locked_state (sctp_transport->sctpenc, FALSE); in _sctp_check_dtls_state_task()
2441 gst_element_sync_state_with_parent (GST_ELEMENT (sctp_transport->sctpdec)); in _sctp_check_dtls_state_task()
2442 gst_element_sync_state_with_parent (GST_ELEMENT (sctp_transport->sctpenc)); in _sctp_check_dtls_state_task()
2444 if (sctp_transport->sctpdec_block_id) { in _sctp_check_dtls_state_task()
2450 gst_pad_remove_probe (receive_srcpad, sctp_transport->sctpdec_block_id); in _sctp_check_dtls_state_task()
2452 sctp_transport->sctpdec_block_id = 0; in _sctp_check_dtls_state_task()
2505 WebRTCSCTPTransport *sctp_transport; in _get_or_create_data_channel_transports() local
2514 if (!(sctp_transport = webrtc->priv->sctp_transport)) { in _get_or_create_data_channel_transports()
2515 sctp_transport = webrtc_sctp_transport_new (); in _get_or_create_data_channel_transports()
2516 sctp_transport->transport = in _get_or_create_data_channel_transports()
2518 sctp_transport->webrtcbin = webrtc; in _get_or_create_data_channel_transports()
2522 gst_element_set_locked_state (sctp_transport->sctpdec, TRUE); in _get_or_create_data_channel_transports()
2523 gst_element_set_locked_state (sctp_transport->sctpenc, TRUE); in _get_or_create_data_channel_transports()
2525 gst_bin_add (GST_BIN (webrtc), sctp_transport->sctpdec); in _get_or_create_data_channel_transports()
2526 gst_bin_add (GST_BIN (webrtc), sctp_transport->sctpenc); in _get_or_create_data_channel_transports()
2529 g_signal_connect (sctp_transport->sctpdec, "pad-added", in _get_or_create_data_channel_transports()
2531 g_signal_connect (sctp_transport, "notify::state", in _get_or_create_data_channel_transports()
2534 if (sctp_transport->sctpdec_block_id == 0) { in _get_or_create_data_channel_transports()
2539 sctp_transport->sctpdec_block_id = in _get_or_create_data_channel_transports()
2547 GST_ELEMENT (sctp_transport->sctpdec), "sink")) in _get_or_create_data_channel_transports()
2550 if (!gst_element_link_pads (GST_ELEMENT (sctp_transport->sctpenc), "src", in _get_or_create_data_channel_transports()
2557 if (!webrtc->priv->sctp_transport) { in _get_or_create_data_channel_transports()
2570 webrtc->priv->sctp_transport = sctp_transport; in _get_or_create_data_channel_transports()
3316 _add_fingerprint_to_media (webrtc->priv->sctp_transport->transport, media); in _add_data_channel_offer()
3953 _add_fingerprint_to_media (webrtc->priv->sctp_transport->transport, in _create_answer_task()
5069 if (webrtc->priv->sctp_transport) { in _generate_data_channel_id()
5070 g_object_get (webrtc->priv->sctp_transport, "max-channels", &max_channels, in _generate_data_channel_id()
5077 g_object_get (webrtc->priv->sctp_transport->transport, "client", &is_client, in _generate_data_channel_id()
5155 webrtc->priv->sctp_transport->max_message_size = max_size; in _update_data_channel_from_sdp_media()
5161 g_object_get (webrtc->priv->sctp_transport->sctpdec, "local-sctp-port", in _update_data_channel_from_sdp_media()
5165 g_object_set (webrtc->priv->sctp_transport->sctpdec, "local-sctp-port", in _update_data_channel_from_sdp_media()
5168 g_object_get (webrtc->priv->sctp_transport->sctpenc, "remote-sctp-port", in _update_data_channel_from_sdp_media()
5171 g_object_set (webrtc->priv->sctp_transport->sctpenc, "remote-sctp-port", in _update_data_channel_from_sdp_media()
5187 if (webrtc->priv->sctp_transport->association_established in _update_data_channel_from_sdp_media()
5189 webrtc_data_channel_link_to_sctp (channel, webrtc->priv->sctp_transport); in _update_data_channel_from_sdp_media()
6345 if (webrtc->priv->sctp_transport) { in gst_webrtc_bin_create_data_channel()
6352 g_object_get (webrtc->priv->sctp_transport, "max-channels", &max_channels, in gst_webrtc_bin_create_data_channel()
6376 && webrtc->current_remote_description && webrtc->priv->sctp_transport in gst_webrtc_bin_create_data_channel()
6377 && webrtc->priv->sctp_transport->transport) { in gst_webrtc_bin_create_data_channel()
6413 webrtc_data_channel_link_to_sctp (ret, webrtc->priv->sctp_transport); in gst_webrtc_bin_create_data_channel()
6414 if (webrtc->priv->sctp_transport && in gst_webrtc_bin_create_data_channel()
6415 webrtc->priv->sctp_transport->association_established in gst_webrtc_bin_create_data_channel()
7346 g_value_set_object (value, webrtc->priv->sctp_transport); in gst_webrtc_bin_get_property()
7391 g_clear_object (&webrtc->priv->sctp_transport); in gst_webrtc_bin_dispose()