On Sun, Sep 21, 2008 at 10:04:15AM +0200, Benjamin Wolsey wrote:
> > > A third way, though, could be to implement the codec information class
> > > from Flash Lite, as Adobe is unlikely to make the two versions of flash
> > > incompatible. I think the decision needs time, whatever the case.
> > 
> > I'd be for this third way, what are your concerns about it ?
> > How does this flash lite interface look like ?
> 
> The following return arrays of MIME types:
> 
> System.capabilities.videoMIMETypes
> System.capabilitites.MIMETypes
> System.capabilities.audioMIMETypes
> 
> It should be noted, though, that a MIME type like video/ogg or audio/ogg
> only shows that the OGG container can be handled, and doesn't reveal
> whether codecs for the contained video or audio streams are present, so
> there's still guesswork involved. The type video/ogg could be
> Theora/Vorbis, Theora/Speex, Theora/FLAC, Dirac/FLAC, Dirac/Vorbis,
> MNG/FLAC or OggUVS inside OGG (whatever that is). (See
> http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions)

What about finding also codec MIME types in those arrays ?
Like, if the SWF wants to check whether the player supports
playing an OGG contaning Theora/Vorbis video it would check
mime types to contain *both* video/ogg *and* Theora/Vorbis.

--strk;


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to