Bug 216280 - "RTSP" streams wrongly reclaimed by "totem" plugin
Summary: "RTSP" streams wrongly reclaimed by "totem" plugin
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: totem
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-18 18:40 UTC by Joachim Frieben
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-26 17:57:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2006-11-18 18:40:25 UTC
Description of problem:
Having both "totem-mozplugin" and "RealPlayer" plugin installed on
my system, "totem" wrongly picks up the request from

  'rtsp://real.mdcs.dtag.de/zdf/zdf/061117_foltermord_h19_h.rm' .

The stock "totem" plugin cannot handle this format as the following
error message confirms:

  "Totem could not play  '...'. RTSP streams cannot be played yet."

However, a working "RealPlayer" plugin is installed and should be
used instead.

Version-Release number of selected component (if applicable):
totem-2.17.3-1.fc7

How reproducible:
Always

Steps to Reproduce:
1. Install "totem-mozplugin".
2. Install "RealPlayer".
3. Go to the link specified above.
  
Actual results:
"totem-plugin" reports that it is unable to deal with "RTSP".

Expected results:
The "RTSP" stream is played correctly by means of "nphelix.so".

Additional info:
"mozplugger-1.7.3-3.1" is also installed but uninstalling it
does not change anything. According to "about:plugins",
"audio/x-pn-realaudio-plugin" with suffix "rpm" is handled by
-two- different plugins, namely "libtotem-complex-plugin.so"
-and- "nphelix.so". Furthermore, there are several "RealPlayer"
related entries in the "mozplugger" section, including for the
"rm" file type: "audio/x-pn-realaudio", "audio/x-realaudio",
and "application/vnd.rn-realmedia". When I open a local audio
"rm" file in "epiphany", the "RealPlayer" is launched
(externally) but otherwise correctly.
Uninstalling "totem-mozplugin" makes "RealPlayer" to set in as
expected.

Comment 1 Bastien Nocera 2006-11-27 10:28:30 UTC
If there aren't any src plugins for RTSP in the GStreamer packages we ship, we
might want to remove/disable the Complex plugin shipped with Totem.

Comment 2 Joachim Frieben 2006-11-28 09:37:20 UTC
But how does this compare to the information at the "gstreamer" project
site reproduced below ["libgstrtsp.so" is actually installed as part of
"gstreamer-plugins-good-0.10.4-2.fc7"]?

rtsp

— transfer data via RTSP

Plugin Information
filename  libgstrtsp.so
version   0.10.4
run-time  license LGPL
package   GStreamer Good Plug-ins source release
origin    Unknown package origin
Elements
rtpdec    Accepts raw RTP and RTCP packets and sends them forward
rtspsrc   Receive data over the network via RTSP (RFC 2326)

Comment 3 Bastien Nocera 2006-11-28 10:26:36 UTC
(In reply to comment #2)
> But how does this compare to the information at the "gstreamer" project
> site reproduced below ["libgstrtsp.so" is actually installed as part of
> "gstreamer-plugins-good-0.10.4-2.fc7"]?
<snip>
> rtpdec    Accepts raw RTP and RTCP packets and sends them forward
> rtspsrc   Receive data over the network via RTSP (RFC 2326)
                                                    ^^^^^^^^^

That's the hint. Real are using a completely broken, uncompatible version of
RTSP, ie. they're not following the RFC for their implementation.


Comment 4 Matthias Clasen 2006-11-28 13:32:17 UTC
Bastian, what is the "Complex plugin" shipped with totem ?

Comment 5 Bastien Nocera 2006-11-28 13:59:58 UTC
It's a "Real" compatible browser plugin.

GMP -> Windows Media
Narrowspace -> Quicktime
Complex -> Real
MullY -> DivX
Basic -> Totem

We can remove it if we can't playback those streams.

Comment 7 Matthias Clasen 2006-11-29 17:59:40 UTC
So the complex plugin alone is not enough to playback real streams ?

Comment 8 Bastien Nocera 2006-11-29 18:34:09 UTC
No, you need the RTSP plugin (or PNM for older Real server setups), as well as
the usual decoders for Real Audio and Real Video.

It might be a good idea to split up the plugin flavours in different packages,
and only make the Basic and GMP plugins installed by default, as those will
usually use streams for which we have decoders.

Comment 9 Alexander Larsson 2006-11-30 11:00:45 UTC
Bastien: That sounds like a good idea. 
totem-mozplugins and totem-mozplugin-extras?
What is totem-mozilla-viewer used for/by?

Comment 10 Bastien Nocera 2006-11-30 11:14:46 UTC
The viewer is the actual worker playing the videos. Without it, no use.
(The playback is out-of-process to avoid bringing down the browser when we get a
crash)

totem-browser-plugin with the basic one and the viewer in there, and
totem-browser-plugin-gmp, etc. for the other ones.

Comment 11 Bastien Nocera 2007-01-16 12:39:57 UTC
This is a similar problem to bug 221120, where mp3 was advertised as working,
but wasn't. The obvious fix would be for system administrators (or users) to be
able to disable specific mime-types/plugins in the browser configuration.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=19118

Comment 12 Bastien Nocera 2007-01-26 17:57:53 UTC
I've forwarded this to the GNOME bug tracker:
http://bugzilla.gnome.org/show_bug.cgi?id=401079

So that a Totem specific solution can be found. It would only be in release
after GNOME 2.18, as it would require UI changes (and probably changes in the
control-center for example).


Note You need to log in before you can comment on or make changes to this bug.