• Home
  • Raw
  • Download

Lines Matching refs:newconn

371   GstRTSPConnection *newconn;  in gst_rtsp_connection_create()  local
376 newconn = g_new0 (GstRTSPConnection, 1); in gst_rtsp_connection_create()
378 newconn->may_cancel = TRUE; in gst_rtsp_connection_create()
379 newconn->cancellable = g_cancellable_new (); in gst_rtsp_connection_create()
380 newconn->client = g_socket_client_new (); in gst_rtsp_connection_create()
383 g_socket_client_set_tls (newconn->client, TRUE); in gst_rtsp_connection_create()
385 g_signal_connect (newconn->client, "event", (GCallback) socket_client_event, in gst_rtsp_connection_create()
386 newconn); in gst_rtsp_connection_create()
388 newconn->url = gst_rtsp_url_copy (url); in gst_rtsp_connection_create()
389 newconn->timer = g_timer_new (); in gst_rtsp_connection_create()
390 newconn->timeout = 60; in gst_rtsp_connection_create()
391 newconn->cseq = 1; /* RFC 7826: "it is RECOMMENDED to start at 0.", in gst_rtsp_connection_create()
394 newconn->remember_session_id = TRUE; in gst_rtsp_connection_create()
396 newconn->auth_method = GST_RTSP_AUTH_NONE; in gst_rtsp_connection_create()
397 newconn->username = NULL; in gst_rtsp_connection_create()
398 newconn->passwd = NULL; in gst_rtsp_connection_create()
399 newconn->auth_params = NULL; in gst_rtsp_connection_create()
400 newconn->version = 0; in gst_rtsp_connection_create()
402 newconn->content_length_limit = G_MAXUINT; in gst_rtsp_connection_create()
404 *conn = newconn; in gst_rtsp_connection_create()
454 GstRTSPConnection *newconn = NULL; in gst_rtsp_connection_create_from_socket() local
474 GST_RTSP_CHECK (gst_rtsp_connection_create (url, &newconn), newconn_failed); in gst_rtsp_connection_create_from_socket()
480 newconn->server = TRUE; in gst_rtsp_connection_create_from_socket()
481 newconn->socket0 = socket; in gst_rtsp_connection_create_from_socket()
482 newconn->stream0 = stream; in gst_rtsp_connection_create_from_socket()
483 newconn->write_socket = newconn->read_socket = newconn->socket0; in gst_rtsp_connection_create_from_socket()
484 newconn->read_socket_used = FALSE; in gst_rtsp_connection_create_from_socket()
485 newconn->write_socket_used = FALSE; in gst_rtsp_connection_create_from_socket()
486 g_mutex_init (&newconn->socket_use_mutex); in gst_rtsp_connection_create_from_socket()
487 newconn->input_stream = g_io_stream_get_input_stream (stream); in gst_rtsp_connection_create_from_socket()
488 newconn->output_stream = g_io_stream_get_output_stream (stream); in gst_rtsp_connection_create_from_socket()
489 newconn->control_stream = NULL; in gst_rtsp_connection_create_from_socket()
490 newconn->remote_ip = g_strdup (ip); in gst_rtsp_connection_create_from_socket()
491 newconn->local_ip = local_ip; in gst_rtsp_connection_create_from_socket()
492 newconn->initial_buffer = g_strdup (initial_buffer); in gst_rtsp_connection_create_from_socket()
494 *conn = newconn; in gst_rtsp_connection_create_from_socket()