GstRTSPClient *client;
GstRTSPMessage request = { 0, };
gchar *str;
- GstRTSPClientState state = { NULL };
client = setup_multicast_client ();
- state.client = client;
- state.auth = gst_rtsp_auth_new ();
- state.token =
- gst_rtsp_token_new ("media.factory.role", G_TYPE_STRING, "user", NULL);
- gst_rtsp_client_state_push_current (&state);
-
/* simple SETUP with a valid URI and multicast and a specific dest,
* but ignore it */
fail_unless (gst_rtsp_message_init_request (&request, GST_RTSP_SETUP,
expected_transport = NULL;
g_object_unref (client);
- g_object_unref (state.auth);
- gst_rtsp_token_unref (state.token);
- gst_rtsp_client_state_pop_current (&state);
}
GST_END_TEST;
G_TYPE_BOOLEAN, TRUE, "media.factory.role", G_TYPE_STRING, "user", NULL);
gst_rtsp_client_state_push_current (&state);
-#if 0
- gst_rtsp_client_set_use_client_settings (client, TRUE);
- fail_unless (gst_rtsp_client_get_use_client_settings (client));
-#endif
-
/* simple SETUP with a valid URI and multicast, but an invalid ip */
fail_unless (gst_rtsp_message_init_request (&request, GST_RTSP_SETUP,
"rtsp://localhost/test/stream=0") == GST_RTSP_OK);
G_TYPE_BOOLEAN, TRUE, "media.factory.role", G_TYPE_STRING, "user", NULL);
gst_rtsp_client_state_push_current (&state);
-#if 0
- gst_rtsp_client_set_use_client_settings (client, TRUE);
- fail_unless (gst_rtsp_client_get_use_client_settings (client));
-#endif
-
expected_transport = "RTP/AVP;multicast;destination=233.252.0.1;"
"ttl=1;port=5000-5001;mode=\"PLAY\"";