souphttpsrc: Revert some Tizen modifications 20/323220/1 accepted/tizen/7.0/unified/20250425.091955
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:07:57 +0000 (17:07 +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.20.0-63
[Issue Type] Fix bugs

Change-Id: I5b06cb30f25b9eb936108073cdbc624899a062d3

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

index 9681d45dbd4499f77209db07e42d4ff57e146cd6..475d02b1005c4e800377b80fe4f438bdbb84457b 100644 (file)
@@ -62,7 +62,7 @@
 
 Name:           %{_name}
 Version:        1.20.0
-Release:        62
+Release:        63
 Summary:        Streaming-Media Framework Runtime
 License:        LGPL-2.0+
 Group:          Multimedia/Framework
index b3a5769f5fc31641db0ec4d3f7daeb9d93a5c32e..35d0ee3b4e2b2b8342d6b130f6ca4813c3eb6dbb 100644 (file)
@@ -908,10 +908,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);
 
@@ -1877,13 +1874,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;