On Mon, 2011-10-17 at 23:06 +0200, Patryk Zawadzki wrote: > On Mon, Oct 17, 2011 at 8:23 PM, Scrool <scroo...@gmail.com> wrote: > > I'd like to ask you for clarification of "URI scheme handlers" section > > in Shared MIME-info Database spec. Quote from last paragraph: > > > > "Note that this virtual mime-type is not for listing URI schemes that > > an application can load files from. For example, a movie player would > > not list x-scheme-handler/http in its supported mime-types, but it > > would list x-scheme-handler/rtsp if it supported playing back from > > RTSP locations." > > > > a) Let's have a video player that uses HTTP to download a movie and > > its subsequent play. This player should not register > > x-scheme-handler/http, right? > > b) Another video player that uses HTTP as a transport protocol for > > video streaming. This player may register x-scheme-handler/http? > > Claiming to handle "x-scheme-handler/http" is basically saying "I can > handle anything that you throw my way as long as it's HTTP". That > includes regular web pages so I guess the answer is that no > media-specific application should ever register for a generic > protocol.
Exactly. Other examples include "media-only" streaming schemes. The media player would probably claim to handle x-scheme-handler/rtsp because it handles all types of RTSP URLs. Cheers _______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg