Change uri to localhost 27/178527/1
authorSeokHoon Lee <andy.shlee@samsung.com>
Thu, 10 May 2018 08:50:15 +0000 (17:50 +0900)
committerSeokHoon Lee <andy.shlee@samsung.com>
Thu, 10 May 2018 08:50:35 +0000 (17:50 +0900)
- change uri data to "rtsp://localhost/wfd1.0
  that subscribed in wfd spec

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I4b76fd852a2c3adb03c1fc1976fe43c88ce320d5

gst/rtsp-server/rtsp-client-wfd.c [changed mode: 0755->0644]
packaging/gst-rtsp-server.spec

old mode 100755 (executable)
new mode 100644 (file)
index b97e49f..75fdaa5
@@ -3215,29 +3215,8 @@ gst_rtsp_wfd_client_trigger_request (GstRTSPWFDClient * client,
 {
   GstRTSPResult res = GST_RTSP_OK;
   GstRTSPMessage request = { 0 };
-  GstRTSPUrl *url = NULL;
-  gchar *url_str = NULL;
-
-  GstRTSPClient *parent_client = GST_RTSP_CLIENT_CAST (client);
-  GstRTSPConnection *connection =
-      gst_rtsp_client_get_connection (parent_client);
-
-  url = gst_rtsp_connection_get_url (connection);
-  if (url == NULL) {
-    GST_ERROR_OBJECT (client, "Failed to get connection URL");
-    res = GST_RTSP_ERROR;
-    goto error;
-  }
-
-  url_str = gst_rtsp_url_get_request_uri (url);
-  if (url_str == NULL) {
-    GST_ERROR_OBJECT (client, "Failed to get connection URL");
-    res = GST_RTSP_ERROR;
-    goto error;
-  }
 
-  res = prepare_trigger_request (client, &request, type, url_str);
-  g_free (url_str);
+  res = prepare_trigger_request (client, &request, type, (gchar *) "rtsp://localhost/wfd1.0");
 
   if (GST_RTSP_OK != res) {
     GST_ERROR_OBJECT (client, "Failed to prepare M5 request....\n");
index 224c787..674c04c 100644 (file)
@@ -1,7 +1,7 @@
 Name:       gst-rtsp-server
 Summary:    Multimedia Framework Library
 Version:    1.12.2
-Release:    1
+Release:    2
 Url:        http://gstreamer.freedesktop.org/
 Group:      System/Libraries
 License:    LGPL-2.0+