Merge branch 'upstream/1.16' into tizen_gst_1.16.2
[platform/upstream/gst-plugins-good.git] / ext / soup / gstsouphttpsrc.h
index 3b37fe0..458fa2a 100644 (file)
@@ -60,6 +60,9 @@ struct _GstSoupHTTPSrc {
   gchar *proxy_pw;             /* Authentication user password for proxy URI. */
   gchar **cookies;             /* HTTP request cookies. */
   SoupSession *session;        /* Async context. */
+  gboolean session_is_shared;
+  SoupSession *external_session; /* Shared via GstContext */
+  gboolean forced_external_session; /* If session was explicitly set from application */
   SoupMessage *msg;            /* Request message. */
   gint retry_count;            /* Number of retries since we received data */
   gint max_retries;            /* Maximum number of retries */
@@ -114,12 +117,15 @@ struct _GstSoupHTTPSrc {
   GCond have_headers_cond;
 
   GstEvent *http_headers_event;
+
+  gint64 last_socket_read_time;
+
 #ifdef TIZEN_FEATURE_SOUP_MODIFICATION
   gchar *dash_oldest_segment;
   gchar *dash_newest_segment;
   guint64 received_total;    /* temp: for debugging */
   guint dlna_opt;            /* DLNA server option */
-#endif
+#endif  
 };
 
 struct _GstSoupHTTPSrcClass {