Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2003 04:21:47 +0100
From:      Bruce M Simpson <bms@spc.org>
To:        freebsd-www@freebsd.org, freebsd-users@uk.freebsd.org
Subject:   Real's MIME types changed (w/o telling us)
Message-ID:  <20031008032147.GA76979@saboteur.dek.spc.org>

next in thread | raw e-mail | index | archive | help

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

For the benefit of anyone doing streaming media, and has found their
Windows clients don't work any more... Recently we tracked this problem
down to Real Networks changing the expected MIME type in all their
RealPlayer installations. As a result, shipping out-of-the-box
configurations couldn't fetch media which was hosted under our
Apache/FreeBSD setup. In the case of Windows XP, we had complete failure
to stream and play media clips in some situations.

This surfaced quite recently when we were upgrading our servers, so it
looked like the upgrade was at fault -- I had to sit down and use diff
with vim to show conclusively that the configs hadn't changed in 2 years.

Real haven't informed IANA of the change, so we couldn't find any record
of this in their media-type allocation list. The source for the MIME types
was their RealPlayer 8 FAQ. Searching on Real for Apache yields nothing.

Applying the attached patch, removing any AddType directives referencing
the MIME types, and performing a graceful restart cured the problem.

Share and enjoy,
BMS

--IS0zKkzwUGydFO0o
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="realmedia-filetypes.diff"

--- mime.types.bak	Mon Oct  6 14:23:15 2003
+++ mime.types	Mon Oct  6 14:27:58 2003
@@ -232,6 +232,7 @@
 application/vnd.pvi.ptid1
 application/vnd.pwg-xhtml-print+xml
 application/vnd.rapid
+application/vnd.rn-realmedia			rm
 application/vnd.s3sms
 application/vnd.seemail
 application/vnd.shana.informed.formdata
@@ -345,12 +346,11 @@
 audio/vnd.octel.sbc
 audio/vnd.qcelp
 audio/vnd.rhetorex.32kadpcm
+audio/vnd.rn-realaudio		ra ram
 audio/vnd.vmx.cvsd
 audio/x-aiff			aif aiff aifc
 audio/x-mpegurl			m3u
-audio/x-pn-realaudio		ram rm
 audio/x-pn-realaudio-plugin	rpm
-audio/x-realaudio		ra
 audio/x-wav			wav
 chemical/x-pdb			pdb
 chemical/x-xyz			xyz
@@ -465,6 +465,7 @@
 video/vnd.mpegurl		mxu
 video/vnd.mts
 video/vnd.nokia.interleaved-multimedia
+video/vnd.rn-realvideo		rv
 video/vnd.vivo
 video/x-msvideo			avi
 video/x-sgi-movie		movie

--IS0zKkzwUGydFO0o--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008032147.GA76979>