g_object_set(G_OBJECT(priv->videoCaps), "caps", caps, NULL);
gst_caps_unref(caps);
g_object_set(priv->src, "protocol", 0, NULL);
- g_object_set(priv->src, "host", "localhost", NULL);
+ g_object_set(priv->src, "host", "127.0.0.1", NULL);
g_object_set(priv->src, "port", DEFAULT_IP_CAMERA_PORT, NULL);
g_object_set(priv->src, "do-timestamp", true, NULL);
gst_caps_unref(caps);
GstElement* sink = gst_element_factory_make("tcpserversink", 0);
- g_object_set(sink, "host", "localhost", NULL);
+ g_object_set(sink, "host", "127.0.0.1", NULL);
g_object_set(sink, "port", defaultIpCameraPort, NULL);
GstElement* csp = gst_element_factory_make("ffmpegcolorspace", 0);