souphttpsrc: Revert some Tizen modifications 14/323114/5
authorGilbok Lee <gilbok.lee@samsung.com>
Wed, 23 Apr 2025 06:05:58 +0000 (15:05 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 24 Apr 2025 08:06:36 +0000 (17:06 +0900)
- If 'Range: bytes=0-' header in sending message is added (if offset = 0),
  the data received from the hls live streaming is different, causing the problem

[Version] 1.24.11-14
[Issue Type] Fix bugs

Change-Id: I5b06cb30f25b9eb936108073cdbc624899a062d3

packaging/gstreamer.spec
subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c

index cf63514d03ee9eae78dedb4acaece13b765ce430..3a5f616e6a6877c79ab0613b59fb23e4a05fe5da 100644 (file)
@@ -61,7 +61,7 @@
 
 Name:           %{_name}
 Version:        1.24.11
-Release:        13
+Release:        14
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index e59f9e3e0d3f2b4b5b0153bde9d6f8d7f1886b63..ba210d477f1b16ab3675dbd34f54c5668fd003b6 100644 (file)
@@ -943,10 +943,7 @@ gst_soup_http_src_add_range_header (GstSoupHTTPSrc * src, guint64 offset,
       _soup_message_get_request_headers (src->msg);
 
   _soup_message_headers_remove (request_headers, "Range");
-#ifndef TIZEN_FEATURE_SOUP_MODIFICATION
-  if (offset || stop_offset != -1)
-#endif
-  {
+  if (offset || stop_offset != -1) {
     if (stop_offset != -1) {
       g_assert (offset != stop_offset);
 
@@ -1916,13 +1913,6 @@ gst_soup_http_src_build_message (GstSoupHTTPSrc * src, const gchar * method)
     _soup_message_headers_append (request_headers, "icy-metadata", "1");
   }
 
-#ifdef TIZEN_FEATURE_SOUP_MODIFICATION
-  /* This changes are needed to enable Seekable Contents from server.
-   We have observed that , for few specific networks ( VODAFONE ) , without theabove headers ,
-   Youtube is sending non-seekable contents to the Client. */
-  _soup_message_headers_append (request_headers, "Accept-Ranges","bytes");
-#endif
-
   if (src->cookies) {
     gchar **cookie;