Title: [173614] trunk/Source/WebCore
Revision
173614
Author
[email protected]
Date
2014-09-15 01:08:13 -0700 (Mon, 15 Sep 2014)

Log Message

[GStreamer] don't send transferMode HTTP header
https://bugs.webkit.org/show_bug.cgi?id=136781

Reviewed by Philippe Normand.

No header at all is better than having the wrong header as DLNA
mandates that a missing header has to be tolerated while a wrong
header is an error.

* platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
(webKitWebSrcStart):
* platform/network/HTTPHeaderNames.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (173613 => 173614)


--- trunk/Source/WebCore/ChangeLog	2014-09-15 05:40:56 UTC (rev 173613)
+++ trunk/Source/WebCore/ChangeLog	2014-09-15 08:08:13 UTC (rev 173614)
@@ -1,3 +1,18 @@
+2014-09-15  Andres Gomez  <[email protected]>
+
+        [GStreamer] don't send transferMode HTTP header
+        https://bugs.webkit.org/show_bug.cgi?id=136781
+
+        Reviewed by Philippe Normand.
+
+        No header at all is better than having the wrong header as DLNA
+        mandates that a missing header has to be tolerated while a wrong
+        header is an error.
+
+        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
+        (webKitWebSrcStart):
+        * platform/network/HTTPHeaderNames.in:
+
 2014-09-14  Christophe Dumez  <[email protected]>
 
         Fix post-mortem nits for r173528 & r173549

Modified: trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp (173613 => 173614)


--- trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp	2014-09-15 05:40:56 UTC (rev 173613)
+++ trunk/Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp	2014-09-15 08:08:13 UTC (rev 173614)
@@ -492,9 +492,6 @@
     // We always request Icecast/Shoutcast metadata, just in case ...
     request.setHTTPHeaderField(HTTPHeaderName::IcyMetadata, "1");
 
-    // Needed to use DLNA streaming servers
-    request.setHTTPHeaderField(HTTPHeaderName::TransferModeDLNA, "Streaming");
-
     if (priv->player) {
         if (CachedResourceLoader* loader = priv->player->cachedResourceLoader())
             priv->client = new CachedResourceStreamingClient(src, loader, request, priv->player->mediaPlayerClient()->mediaPlayerCORSMode());

Modified: trunk/Source/WebCore/platform/network/HTTPHeaderNames.in (173613 => 173614)


--- trunk/Source/WebCore/platform/network/HTTPHeaderNames.in	2014-09-15 05:40:56 UTC (rev 173613)
+++ trunk/Source/WebCore/platform/network/HTTPHeaderNames.in	2014-09-15 08:08:13 UTC (rev 173614)
@@ -107,4 +107,3 @@
 Icy-Name
 Icy-Title
 Icy-URL
-TransferMode.DLNA
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to